Non-transitory computer-readable storage medium, information processing apparatus, information processing system, and information processing method

ABSTRACT

In an example of an information processing system, in a case where a user character is present on an area in a first state on a wall surface, and while an input to an operation button is continued, the user character is caused to perform a preliminary action, and if at least the input to the operation button ends, the user character is moved to a boundary between the area in the first state and another area on the wall surface. If the user character reaches the boundary, the user character is caused to jump from the boundary.

CROSS REFERENCE TO RELATED APPLICATION

This application is a continuation of U.S. patent application Ser. No.17/584,118 filed Jan. 25, 2022, which claims priority to Japanese PatentApplication No. 2021-21912 and Japanese Patent Application No.2021-21913 each filed on Feb. 15, 2021, the entire contents of which areincorporated herein by reference.

FIELD

An exemplary embodiment relates to a non-transitory computer-readablestorage medium having stored therein an information processing program,an information processing apparatus, an information processing system,and an information processing method.

BACKGROUND AND SUMMARY

As a background technique, there is a game where a user character movesin a virtual space, a specified area is changed to an area relating to auser's team, the user character is moved in the changed area.

In the above game, however, there is room for improvement in moving theuser character on a wall surface as a terrain object.

Therefore, it is an object of an exemplary embodiment to provide anon-transitory computer-readable storage medium having stored therein aninformation processing program, an information processing apparatus, aninformation processing system, and an information processing method thatenhance the movement of a user character on a wall surface and improvethe interest of a game.

To achieve the above object, the exemplary embodiment employs thefollowing configurations.

A non-transitory computer-readable storage medium having stored thereinan information processing program according to the exemplary embodimentcauses a computer to execute game processing regarding a game performedin a three-dimensional virtual space including at least a terrainobject. The information processing program causes the computer to: inaccordance with a first operation input provided by a user, change aspecified area in the terrain object to a first state; based on adirection operation input provided by the user, perform a first movementprocess for moving a user character on an area in the first state in awall surface as the terrain object; in a case where the user characteris present on the wall surface in the first state, and while a secondoperation input provided by the user continues, cause the user characterto perform a preliminary action; under the condition that at least thesecond operation input ends, perform a second movement process formoving the user character performing the preliminary action on the wallsurface in the first state in a predetermined direction including atleast a component in an up direction; control an enemy character in thevirtual space; cause the enemy character to perform an attack havingdisadvantageous influence in the game on the user character; if the usercharacter reaches a boundary between the wall surface in the first stateand an area in the virtual space that is different from the wall surfacein the first state due to the movement by the second movement process,reduce the disadvantageous influence imparted by the attack on the usercharacter; and as a result of the second movement process, if the usercharacter reaches the boundary, cause the user character to jump fromthe boundary.

Based on the above, it is possible to move a user character in an updirection to a boundary of an area in a first state on a wall surfaceand also cause the user character to jump from the boundary.Consequently, it is possible to enhance the movement of the usercharacter on the wall surface and improve the interest of a game. In acase where a movement by a second movement process is performed, it ispossible to reduce disadvantageous influence due to the attack of anenemy character. Thus, it is possible to urge the movement by the secondmovement process.

The information processing program may further cause the computer to, ifthe direction operation input is provided while the user character iscaused to perform the preliminary action, adjust a position of the usercharacter on the wall surface in the first state in accordance with thedirection operation input.

Based on the above, it is possible to adjust the position of the usercharacter on the wall surface during a preliminary action and adjust theposition where the movement by the second movement process is started.

A moving velocity of the user character based on the adjustment may beslower than the moving velocity of the user character based on the firstmovement process.

Based on the above, when the position of the user character on the wallsurface is adjusted during the preliminary action, it is possible tofacilitate the adjustment of the position.

In the second movement process, after the second operation input ends,and while the direction operation input continues, the user charactermay be moved on the wall surface in the first state.

Based on the above, a direction operation input is continued, whereby itis possible to continue the movement of the user character on the wallsurface.

In the second movement process, a moving direction of the user charactermay be changed in accordance with the direction operation input, and ifthe direction operation input satisfies a predetermined condition, themovement of the user character may be stopped.

Based on the above, if the movement by the second movement process isperformed, it is possible to change the moving direction by a directionoperation input and also stop the movement.

In the first movement process, the user character may be moved in afirst display form, and while the user character is caused to performthe preliminary action, the user character may be displayed in a seconddisplay form having a visibility higher than a visibility of the firstdisplay form.

Based on the above, the visibility becomes high during a preliminaryaction. Thus, it is possible to prevent the user character from becomingtoo advantageous due to the movement by the second movement process.

A height of the jump of the user character may differ in accordance withtime of the preliminary action.

Based on the above, for example, it is possible to adjust the height ofthe jump by adjusting the time of a preliminary action. Thus, it ispossible to appropriately use jumps in accordance with the situation.This can improve the interest of a game.

A moving velocity of the user character based on the second movementprocess may differ in accordance with time of the preliminary action.

Based on the above, for example, it is possible to adjust the movingvelocity by adjusting the time of a preliminary action. Thus, it ispossible to appropriately use movements in accordance with thesituation. This can improve the interest of a game.

In the second movement process, after the second operation input ends,and while the direction operation input continues, the moving velocityof the user character relating to the time of the preliminary action maybe maintained.

Based on the above, if a direction operation input continues to beprovided, it is possible to maintain the moving velocity of the usercharacter set in accordance with the time of the preliminary action.

The information processing program may further cause the computer to: ina case where the user character is present on the wall surface in thefirst state, and if the direction operation input is not provided,perform a third movement process for automatically moving the usercharacter in a down direction in the virtual space; and if the usercharacter is caused to perform the preliminary action, reduce themovement by the third movement process.

Based on the above, for example, in a case where gravity always acts ina down direction in a virtual space, it is possible to reduce a movementin the down direction due to gravity during a preliminary action.

The information processing program may further cause the computer to, ifa third operation input is provided by the user while the user characteris caused to perform the preliminary action or during the movement bythe second movement process, cause the user character to jump in adirection away from the wall surface.

Based on the above, even while the user character is performing apreliminary action on the wall surface, and even during the movement bythe second movement process, it is possible to cause the user characterto jump in a direction away from the wall surface by a third operationinput.

A moving velocity of the user character may be faster in the movement bythe second movement process than in the movement by the first movementprocess.

Based on the above, it is possible to promote the movement by the secondmovement process. Thus, it is possible to vary the movement of the usercharacter on the wall surface.

If the user character reaches the boundary due to the movement by thesecond movement process, the user character may perform the jump beyondthe boundary. If the user character reaches the boundary due to themovement by the first movement process, and even if the user characterjumps beyond the boundary, a height of the jump may be lower than aheight of the jump due to the movement by the second movement process.

Based on the above, it is possible to promote the movement by the secondmovement process.

Another exemplary embodiment may be an information processing apparatusthat executes the information processing program, or may be aninformation processing system, or may be an information processingmethod.

According to the exemplary embodiment, it is possible to move a usercharacter to a boundary of an area in a first state on a wall surfaceand also cause the user character to jump from the boundary.

These and other objects, features, aspects and advantages of theexemplary embodiments will become more apparent from the followingdetailed description of the exemplary embodiments when taken inconjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram showing an example non-limiting state where a leftcontroller 3 and a right controller 4 are attached to a main bodyapparatus 2;

FIG. 2 is a diagram showing an example non-limiting state where each ofthe left controller 3 and the right controller 4 is detached from themain body apparatus 2;

FIG. 3 is six orthogonal views showing an example non-limiting main bodyapparatus 2;

FIG. 4 is six orthogonal views showing an example non-limiting leftcontroller 3;

FIG. 5 is six orthogonal views showing an example non-limiting rightcontroller 4;

FIG. 6 is a block diagram showing an example non-limiting internalconfiguration of the main body apparatus 2;

FIG. 7 is a block diagram showing example non-limiting internalconfigurations of the main body apparatus 2 and the left controller 3and the right controller 4;

FIG. 8 is a diagram showing an example non-limiting game image displayedon a display device when a game according to the exemplary embodiment isexecuted;

FIG. 9 is a diagram showing an example non-limiting game image when auser character P is changed to a special state;

FIG. 10 is a diagram showing an example non-limiting state where a usercharacter PB in the special state is present on a wall surface object210;

FIG. 11 is a diagram showing an example non-limiting state where theuser character PB in the special state moves on the wall surface object210;

FIG. 12 is a diagram showing an example non-limiting trajectory of theuser character PB in a case where a first jump action involving a changeof direction to the depth direction of a screen is performed when theuser character PB in the special state is moving in the right directionon a first state area 201 in a ground object 200;

FIG. 13 is a diagram showing an example non-limiting trajectory of theuser character PB in a case where the first jump action involving achange of direction to the left direction is performed when the usercharacter PB in the special state is moving in the right direction onthe first state area 201 in the ground object 200;

FIG. 14 is a diagram showing an example non-limiting change in theposition of the user character PB and a velocity vector at this positionin a case where the first jump action shown in FIG. 12 is performed;

FIG. 15 is a diagram showing an example non-limiting change in theposition of the user character PB and a velocity vector at this positionin a case where the first jump action shown in FIG. 13 is performed;

FIG. 16 is a diagram showing an example non-limiting trajectory of theuser character PB in a case where a second jump action involving achange of direction to the depth direction is performed when the usercharacter PB in the special state is moving in the right direction onthe first state area 201 in the ground object 200;

FIG. 17 is a diagram showing an example non-limiting trajectory of theuser character PB in a case where the second jump action involving achange of direction to the left direction is performed when the usercharacter PB in the special state is moving in the right direction onthe first state area 201 in the ground object 200;

FIG. 18 is a diagram showing an example non-limiting change in theposition of the user character PB and a velocity vector at this positionin a case where the second jump action shown in FIG. 16 is performed;

FIG. 19 is a diagram showing an example non-limiting change in theposition of the user character PB and a velocity vector at this positionin a case where the second jump action shown in FIG. 17 is performed;

FIG. 20 is a diagram showing an example non-limiting state where theuser character PB in the special state performs a third jump action onthe wall surface object 210;

FIG. 21 is a non-limiting diagram illustrating a second directioncondition;

FIG. 22 is a diagram showing an example non-limiting state where theuser character PB performs a preliminary action before performing a wallclimbing action;

FIG. 23 is a diagram showing example non-limiting charge completionrepresentation when the preliminary action is performed for apredetermined time;

FIG. 24 is a diagram showing an example non-limiting state where theuser character PB starts the wall climbing action after thelong-pressing of a jump button is released;

FIG. 25 is a diagram showing an example non-limiting state where theuser character PB reaches the boundary of the first state area 201during the wall climbing action;

FIG. 26 is a diagram showing an example non-limiting state where theuser character PB jumps high upward beyond the boundary of the firststate area 201 after FIG. 25 ;

FIG. 27 is a diagram showing an example non-limiting case where the usercharacter PB lands on an upper surface 220 after FIG. 26 ;

FIG. 28 is a diagram showing example non-limiting data stored in aninformation processing system 1;

FIG. 29 is a flow chart showing example non-limiting game processingperformed by the main body apparatus 2;

FIG. 30 is a flow chart showing an example non-limiting jump process instep S8;

FIG. 31 is a flow chart showing an example non-limiting wall climbingprocess in step S9; and

FIG. 32 is a flow chart showing an example non-limitingduring-wall-climbing process in step S51.

DETAILED DESCRIPTION OF NON-LIMITING EXAMPLE EMBODIMENTS

A game system according to an example of an exemplary embodiment isdescribed below. An example of a game system 1 according to theexemplary embodiment includes a main body apparatus (an informationprocessing apparatus; which functions as a game apparatus main body inthe exemplary embodiment) 2, a left controller 3, and a right controller4. Each of the left controller 3 and the right controller 4 isattachable to and detachable from the main body apparatus 2. That is,the game system 1 can be used as a unified apparatus obtained byattaching each of the left controller 3 and the right controller 4 tothe main body apparatus 2. Further, in the game system 1, the main bodyapparatus 2, the left controller 3, and the right controller 4 can alsobe used as separate bodies (see FIG. 2 ). Hereinafter, first, thehardware configuration of the game system 1 according to the exemplaryembodiment is described, and then, the control of the game system 1according to the exemplary embodiment is described.

FIG. 1 is a diagram showing an example of the state where the leftcontroller 3 and the right controller 4 are attached to the main bodyapparatus 2. As shown in FIG. 1 , each of the left controller 3 and theright controller 4 is attached to and unified with the main bodyapparatus 2. The main body apparatus 2 is an apparatus for performingvarious processes (e.g., game processing) in the game system 1. The mainbody apparatus 2 includes a display 12. Each of the left controller 3and the right controller 4 is an apparatus including operation sectionswith which a user provides inputs.

FIG. 2 is a diagram showing an example of the state where each of theleft controller 3 and the right controller 4 is detached from the mainbody apparatus 2. As shown in FIGS. 1 and 2 , the left controller 3 andthe right controller 4 are attachable to and detachable from the mainbody apparatus 2. It should be noted that hereinafter, the leftcontroller 3 and the right controller 4 will occasionally be referred tocollectively as a “controller”.

FIG. 3 is six orthogonal views showing an example of the main bodyapparatus 2. As shown in FIG. 3 , the main body apparatus 2 includes anapproximately plate-shaped housing 11. In the exemplary embodiment, amain surface (in other words, a surface on a front side, i.e., a surfaceon which the display 12 is provided) of the housing 11 has a generallyrectangular shape.

It should be noted that the shape and the size of the housing 11 areoptional. As an example, the housing 11 may be of a portable size.Further, the main body apparatus 2 alone or the unified apparatusobtained by attaching the left controller 3 and the right controller 4to the main body apparatus 2 may function as a mobile apparatus. Themain body apparatus 2 or the unified apparatus may function as ahandheld apparatus or a portable apparatus.

As shown in FIG. 3 , the main body apparatus 2 includes the display 12,which is provided on the main surface of the housing 11. The display 12displays an image generated by the main body apparatus 2. In theexemplary embodiment, the display 12 is liquid crystal display device(LCD). The display 12, however, may be a display device of any type.

Further, the main body apparatus 2 includes a touch panel 13 on a screenof the display 12. In the exemplary embodiment, the touch panel 13 is ofa type that allows a multi-touch input (e.g., a capacitive type). Thetouch panel 13, however, may be of any type. For example, the touchpanel 13 may be of a type that allows a single-touch input (e.g., aresistive type).

The main body apparatus 2 includes speakers (i.e., speakers 88 shown inFIG. 6 ) within the housing 11. As shown in FIG. 3 , speaker holes 11 aand 11 b are formed on the main surface of the housing 11. Then, soundsoutput from the speakers 88 are output through the speaker holes 11 aand 11 b.

Further, the main body apparatus 2 includes a left terminal 17, which isa terminal for the main body apparatus 2 to perform wired communicationwith the left controller 3, and a right terminal 21, which is a terminalfor the main body apparatus 2 to perform wired communication with theright controller 4.

As shown in FIG. 3 , the main body apparatus 2 includes a slot 23. Theslot 23 is provided on an upper side surface of the housing 11. The slot23 is so shaped as to allow a predetermined type of storage medium to beattached to the slot 23. The predetermined type of storage medium is,for example, a dedicated storage medium (e.g., a dedicated memory card)for the game system 1 and an information processing apparatus of thesame type as the game system 1. The predetermined type of storage mediumis used to store, for example, data (e.g., saved data of an applicationor the like) used by the main body apparatus 2 and/or a program (e.g., aprogram for an application or the like) executed by the main bodyapparatus 2. Further, the main body apparatus 2 includes a power button28.

The main body apparatus 2 includes a lower terminal 27. The lowerterminal 27 is a terminal for the main body apparatus 2 to communicatewith a cradle. In the exemplary embodiment, the lower terminal 27 is aUSB connector (more specifically, a female connector). Further, when theunified apparatus or the main body apparatus 2 alone is mounted on thecradle, the game system 1 can display on a stationary monitor an imagegenerated by and output from the main body apparatus 2. Further, in theexemplary embodiment, the cradle has the function of charging theunified apparatus or the main body apparatus 2 alone mounted on thecradle. Further, the cradle has the function of a hub device(specifically, a USB hub).

FIG. 4 is six orthogonal views showing an example of the left controller3. As shown in FIG. 4 , the left controller 3 includes a housing 31. Inthe exemplary embodiment, the housing 31 has a vertically long shape,i.e., is shaped to be long in an up-down direction (i.e., a y-axisdirection shown in FIGS. 1 and 4 ). In the state where the leftcontroller 3 is detached from the main body apparatus 2, the leftcontroller 3 can also be held in the orientation in which the leftcontroller 3 is vertically long. The housing 31 has such a shape and asize that when held in the orientation in which the housing 31 isvertically long, the housing 31 can be held with one hand, particularlythe left hand. Further, the left controller 3 can also be held in theorientation in which the left controller 3 is horizontally long. Whenheld in the orientation in which the left controller 3 is horizontallylong, the left controller 3 may be held with both hands.

The left controller 3 includes an analog stick 32. As shown in FIG. 4 ,the analog stick 32 is provided on a main surface of the housing 31. Theanalog stick 32 can be used as a direction input section with which adirection can be input. The user tilts the analog stick 32 and therebycan input a direction corresponding to the direction of the tilt (andinput a magnitude corresponding to the angle of the tilt). It should benoted that the left controller 3 may include a directional pad, a slidestick that allows a slide input, or the like as the direction inputsection, instead of the analog stick. Further, in the exemplaryembodiment, it is possible to provide an input by pressing the analogstick 32.

The left controller 3 includes various operation buttons. The leftcontroller 3 includes four operation buttons 33 to 36 (specifically, aright direction button 33, a down direction button 34, an up directionbutton 35, and a left direction button 36) on the main surface of thehousing 31. Further, the left controller 3 includes a record button 37and a “−” (minus) button 47. The left controller 3 includes a firstL-button 38 and a ZL-button 39 in an upper left portion of a sidesurface of the housing 31. Further, the left controller 3 includes asecond L-button 43 and a second R-button 44, on the side surface of thehousing 31 on which the left controller 3 is attached to the main bodyapparatus 2. These operation buttons are used to give instructionsdepending on various programs (e.g., an OS program and an applicationprogram) executed by the main body apparatus 2.

Further, the left controller 3 includes a terminal 42 for the leftcontroller 3 to perform wired communication with the main body apparatus2.

FIG. 5 is six orthogonal views showing an example of the rightcontroller 4. As shown in FIG. 5 , the right controller 4 includes ahousing 51. In the exemplary embodiment, the housing 51 has a verticallylong shape, i.e., is shaped to be long in the up-down direction. In thestate where the right controller 4 is detached from the main bodyapparatus 2, the right controller 4 can also be held in the orientationin which the right controller 4 is vertically long. The housing 51 hassuch a shape and a size that when held in the orientation in which thehousing 51 is vertically long, the housing 51 can be held with one hand,particularly the right hand. Further, the right controller 4 can also beheld in the orientation in which the right controller 4 is horizontallylong. When held in the orientation in which the right controller 4 ishorizontally long, the right controller 4 may be held with both hands

Similarly to the left controller 3, the right controller 4 includes ananalog stick 52 as a direction input section. In the exemplaryembodiment, the analog stick 52 has the same configuration as that ofthe analog stick 32 of the left controller 3. Further, the rightcontroller 4 may include a directional pad, a slide stick that allows aslide input, or the like, instead of the analog stick. Further,similarly to the left controller 3, the right controller 4 includes fouroperation buttons 53 to 56 (specifically, an A-button 53, a B-button 54,an X-button 55, and a Y-button 56) on a main surface of the housing 51.Further, the right controller 4 includes a “+” (plus) button 57 and ahome button 58. Further, the right controller 4 includes a firstR-button 60 and a ZR-button 61 in an upper right portion of a sidesurface of the housing 51. Further, similarly to the left controller 3,the right controller 4 includes a second L-button 65 and a secondR-button 66.

Further, the right controller 4 includes a terminal 64 for the rightcontroller 4 to perform wired communication with the main body apparatus2.

FIG. 6 is a block diagram showing an example of the internalconfiguration of the main body apparatus 2. The main body apparatus 2includes components 81 to 91, 97, and 98 shown in FIG. 6 in addition tothe components shown in FIG. 3 . Some of the components 81 to 91, 97,and 98 may be mounted as electronic components on an electronic circuitboard and accommodated in the housing 11.

The main body apparatus 2 includes a processor 81. The processor 81 isan information processing section for executing various types ofinformation processing to be executed by the main body apparatus 2. Forexample, the processor 81 may be composed only of a CPU (CentralProcessing Unit), or may be composed of a SoC (System-on-a-chip) havinga plurality of functions such as a CPU function and a GPU (GraphicsProcessing Unit) function. The processor 81 executes an informationprocessing program (e.g., a game program) stored in a storage section(specifically, an internal storage medium such as a flash memory 84, anexternal storage medium attached to the slot 23, or the like), therebyperforming the various types of information processing.

The main body apparatus 2 includes a flash memory 84 and a DRAM (DynamicRandom Access Memory) 85 as examples of internal storage media builtinto the main body apparatus 2. The flash memory 84 and the DRAM 85 areconnected to the processor 81. The flash memory 84 is a memory mainlyused to store various data (or programs) to be saved in the main bodyapparatus 2. The DRAM 85 is a memory used to temporarily store variousdata used for information processing.

The main body apparatus 2 includes a slot interface (hereinafterabbreviated as “I/F”) 91. The slot I/F 91 is connected to the processor81. The slot I/F 91 is connected to the slot 23, and in accordance withan instruction from the processor 81, reads and writes data from and tothe predetermined type of storage medium (e.g., a dedicated memory card)attached to the slot 23.

The processor 81 appropriately reads and writes data from and to theflash memory 84, the DRAM 85, and each of the above storage media,thereby performing the above information processing.

The main body apparatus 2 includes a network communication section 82.The network communication section 82 is connected to the processor 81.The network communication section 82 communicates (specifically, throughwireless communication) with an external apparatus via a network. In theexemplary embodiment, as a first communication form, the networkcommunication section 82 connects to a wireless LAN and communicateswith an external apparatus, using a method compliant with the Wi-Fistandard. Further, as a second communication form, the networkcommunication section 82 wirelessly communicates with another main bodyapparatus 2 of the same type, using a predetermined communication method(e.g., communication based on a unique protocol or infrared lightcommunication). It should be noted that the wireless communication inthe above second communication form achieves the function of enablingso-called “local communication” in which the main body apparatus 2 canwirelessly communicate with another main body apparatus 2 placed in aclosed local network area, and the plurality of main body apparatuses 2directly communicate with each other to transmit and receive data.

The main body apparatus 2 includes a controller communication section83. The controller communication section 83 is connected to theprocessor 81. The controller communication section 83 wirelesslycommunicates with the left controller 3 and/or the right controller 4.The communication method between the main body apparatus 2 and the leftcontroller 3 and the right controller 4 is optional. In the exemplaryembodiment, the controller communication section 83 performscommunication compliant with the Bluetooth® standard with the leftcontroller 3 and with the right controller 4.

The processor 81 is connected to the left terminal 17, the rightterminal 21, and the lower terminal 27. When performing wiredcommunication with the left controller 3, the processor 81 transmitsdata to the left controller 3 via the left terminal 17 and also receivesoperation data from the left controller 3 via the left terminal 17.Further, when performing wired communication with the right controller4, the processor 81 transmits data to the right controller 4 via theright terminal 21 and also receives operation data from the rightcontroller 4 via the right terminal 21. Further, when communicating withthe cradle, the processor 81 transmits data to the cradle via the lowerterminal 27. As described above, in the exemplary embodiment, the mainbody apparatus 2 can perform both wired communication and wirelesscommunication with each of the left controller 3 and the rightcontroller 4. Further, when the unified apparatus obtained by attachingthe left controller 3 and the right controller 4 to the main bodyapparatus 2 or the main body apparatus 2 alone is attached to thecradle, the main body apparatus 2 can output data (e.g., image data orsound data) to the stationary monitor or the like via the cradle.

Here, the main body apparatus 2 can communicate with a plurality of leftcontrollers 3 simultaneously (in other words, in parallel). Further, themain body apparatus 2 can communicate with a plurality of rightcontrollers 4 simultaneously (in other words, in parallel). Thus, aplurality of users can simultaneously provide inputs to the main bodyapparatus 2, each using a set of the left controller 3 and the rightcontroller 4. As an example, a first user can provide an input to themain body apparatus 2 using a first set of the left controller 3 and theright controller 4, and simultaneously, a second user can provide aninput to the main body apparatus 2 using a second set of the leftcontroller 3 and the right controller 4.

The main body apparatus 2 includes a touch panel controller 86, which isa circuit for controlling the touch panel 13. The touch panel controller86 is connected between the touch panel 13 and the processor 81. Basedon a signal from the touch panel 13, the touch panel controller 86generates, for example, data indicating the position where a touch inputis provided. Then, the touch panel controller 86 outputs the data to theprocessor 81.

Further, the display 12 is connected to the processor 81. The processor81 displays a generated image (e.g., an image generated by executing theabove information processing) and/or an externally acquired image on thedisplay 12.

The main body apparatus 2 includes a codec circuit 87 and speakers(specifically, a left speaker and a right speaker) 88. The codec circuit87 is connected to the speakers 88 and a sound input/output terminal 25and also connected to the processor 81. The codec circuit 87 is acircuit for controlling the input and output of sound data to and fromthe speakers 88 and the sound input/output terminal 25.

Further, the main body apparatus 2 includes an acceleration sensor 89.In the exemplary embodiment, the acceleration sensor 89 detects themagnitudes of accelerations along predetermined three axial (e.g., xyzaxes shown in FIG. 1 ) directions. It should be noted that theacceleration sensor 89 may detect an acceleration along one axialdirection or accelerations along two axial directions.

Further, the main body apparatus 2 includes an angular velocity sensor90. In the exemplary embodiment, the angular velocity sensor 90 detectsangular velocities about predetermined three axes (e.g., the xyz axesshown in FIG. 1 ). It should be noted that the angular velocity sensor90 may detect an angular velocity about one axis or angular velocitiesabout two axes.

The acceleration sensor 89 and the angular velocity sensor 90 areconnected to the processor 81, and the detection results of theacceleration sensor 89 and the angular velocity sensor 90 are output tothe processor 81. Based on the detection results of the accelerationsensor 89 and the angular velocity sensor 90, the processor 81 cancalculate information regarding the motion and/or the orientation of themain body apparatus 2.

The main body apparatus 2 includes a power control section 97 and abattery 98. The power control section 97 is connected to the battery 98and the processor 81. Further, although not shown in FIG. 6 , the powercontrol section 97 is connected to components of the main body apparatus2 (specifically, components that receive power supplied from the battery98, the left terminal 17, and the right terminal 21). Based on a commandfrom the processor 81, the power control section 97 controls the supplyof power from the battery 98 to the above components.

Further, the battery 98 is connected to the lower terminal 27. When anexternal charging device (e.g., the cradle) is connected to the lowerterminal 27, and power is supplied to the main body apparatus 2 via thelower terminal 27, the battery 98 is charged with the supplied power.

FIG. 7 is a block diagram showing examples of the internalconfigurations of the main body apparatus 2, the left controller 3, andthe right controller 4. It should be noted that the details of theinternal configuration of the main body apparatus 2 are shown in FIG. 6and therefore are omitted in FIG. 7 .

The left controller 3 includes a communication control section 101,which communicates with the main body apparatus 2. As shown in FIG. 7 ,the communication control section 101 is connected to componentsincluding the terminal 42. In the exemplary embodiment, thecommunication control section 101 can communicate with the main bodyapparatus 2 through both wired communication via the terminal 42 andwireless communication not via the terminal 42. The communicationcontrol section 101 controls the method for communication performed bythe left controller 3 with the main body apparatus 2. That is, when theleft controller 3 is attached to the main body apparatus 2, thecommunication control section 101 communicates with the main bodyapparatus 2 via the terminal 42. Further, when the left controller 3 isdetached from the main body apparatus 2, the communication controlsection 101 wirelessly communicates with the main body apparatus 2(specifically, the controller communication section 83). The wirelesscommunication between the communication control section 101 and thecontroller communication section 83 is performed in accordance with theBluetooth® standard, for example.

Further, the left controller 3 includes a memory 102 such as a flashmemory. The communication control section 101 includes, for example, amicrocomputer (or a microprocessor) and executes firmware stored in thememory 102, thereby performing various processes.

The left controller 3 includes buttons 103 (specifically, the buttons 33to 39, 43, 44, and 47). Further, the left controller 3 includes theanalog stick (“stick” in FIG. 7 ) 32. Each of the buttons 103 and theanalog stick 32 outputs information regarding an operation performed onitself to the communication control section 101 repeatedly atappropriate timing.

The left controller 3 includes inertial sensors. Specifically, the leftcontroller 3 includes an acceleration sensor 104. Further, the leftcontroller 3 includes an angular velocity sensor 105. In the exemplaryembodiment, the acceleration sensor 104 detects the magnitudes ofaccelerations along predetermined three axial (e.g., xyz axes shown inFIG. 4 ) directions. It should be noted that the acceleration sensor 104may detect an acceleration along one axial direction or accelerationsalong two axial directions. In the exemplary embodiment, the angularvelocity sensor 105 detects angular velocities about predetermined threeaxes (e.g., the xyz axes shown in FIG. 4 ). It should be noted that theangular velocity sensor 105 may detect an angular velocity about oneaxis or angular velocities about two axes. Each of the accelerationsensor 104 and the angular velocity sensor 105 is connected to thecommunication control section 101. Then, the detection results of theacceleration sensor 104 and the angular velocity sensor 105 are outputto the communication control section 101 repeatedly at appropriatetiming.

The communication control section 101 acquires information regarding aninput (specifically, information regarding an operation or the detectionresult of the sensor) from each of input sections (specifically, thebuttons 103, the analog stick 32, and the sensors 104 and 105). Thecommunication control section 101 transmits operation data including theacquired information (or information obtained by performingpredetermined processing on the acquired information) to the main bodyapparatus 2. It should be noted that the operation data is transmittedrepeatedly, once every predetermined time. It should be noted that theinterval at which the information regarding an input is transmitted fromeach of the input sections to the main body apparatus 2 may or may notbe the same.

The above operation data is transmitted to the main body apparatus 2,whereby the main body apparatus 2 can obtain inputs provided to the leftcontroller 3. That is, the main body apparatus 2 can determineoperations on the buttons 103 and the analog stick 32 based on theoperation data. Further, the main body apparatus 2 can calculateinformation regarding the motion and/or the orientation of the leftcontroller 3 based on the operation data (specifically, the detectionresults of the acceleration sensor 104 and the angular velocity sensor105).

The left controller 3 includes a vibrator 107 for giving notification tothe user by a vibration. In the exemplary embodiment, the vibrator 107is controlled by a command from the main body apparatus 2. That is, ifreceiving the above command from the main body apparatus 2, thecommunication control section 101 drives the vibrator 107 in accordancewith the received command Here, the left controller 3 includes a codecsection 106. If receiving the above command, the communication controlsection 101 outputs a control signal corresponding to the command to thecodec section 106. The codec section 106 generates a driving signal fordriving the vibrator 107 from the control signal from the communicationcontrol section 101 and outputs the driving signal to the vibrator 107.Consequently, the vibrator 107 operates.

The left controller 3 includes a power supply section 108. In theexemplary embodiment, the power supply section 108 includes a batteryand a power control circuit. Although not shown in FIG. 7 , the powercontrol circuit is connected to the battery and also connected tocomponents of the left controller 3 (specifically, components thatreceive power supplied from the battery).

As shown in FIG. 7 , the right controller 4 includes a communicationcontrol section 111, which communicates with the main body apparatus 2.Further, the right controller 4 includes a memory 112, which isconnected to the communication control section 111. The communicationcontrol section 111 is connected to components including the terminal64. The communication control section 111 and the memory 112 havefunctions similar to those of the communication control section 101 andthe memory 102, respectively, of the left controller 3. Thus, thecommunication control section 111 can communicate with the main bodyapparatus 2 through both wired communication via the terminal 64 andwireless communication not via the terminal 64 (specifically,communication compliant with the Bluetooth® standard). The communicationcontrol section 111 controls the method for communication performed bythe right controller 4 with the main body apparatus 2.

The right controller 4 includes input sections similar to the inputsections of the left controller 3. Specifically, the right controller 4includes buttons 113, the analog stick 52, and inertial sensors (anacceleration sensor 114 and an angular velocity sensor 115). These inputsections have functions similar to those of the input sections of theleft controller 3 and operate similarly to the input sections of theleft controller 3.

Further, the right controller 4 includes a vibrator 117 and a codecsection 116. The vibrator 117 and the codec section 116 operatesimilarly to the vibrator 107 and the codec section 106, respectively,of the left controller 3. That is, in accordance with a command from themain body apparatus 2, the communication control section 111 causes thevibrator 117 to operate, using the codec section 116.

The right controller 4 includes a power supply section 118. The powersupply section 118 has a function similar to that of the power supplysection 108 of the left controller 3 and operates similarly to the powersupply section 108.

Overview of Game According to Exemplary Embodiment

Next, an overview of a game according to the exemplary embodiment isdescribed. The game according to the exemplary embodiment is a multiplaygame where a plurality of users operate respective characters using gameapparatuses (the main body apparatus 2 and the controllers 3 and 4) ofthe users. The plurality of game apparatuses are connected to a network(a LAN or the Internet) and communicate directly or indirectly via aserver or the like with each other, thereby performing game processing.For example, the plurality of users belong to either of two teams, andeach user cooperates with a user of the user's team to compete againstthe enemy team. A character relating to each user is placed in the samevirtual space, and each character is caused to perform an action in thevirtual space, whereby the game progresses. On a display device (thedisplay 12 or the stationary monitor) of the game apparatus of eachuser, the character of the user is displayed, and the charactersrelating to the other users are also displayed.

FIG. 8 is a diagram showing an example of a game image displayed on thedisplay device when the game according to the exemplary embodiment isexecuted. In the game according to the exemplary embodiment, a pluralityof game stages are prepared. In a three-dimensional virtual space,terrain objects relating to a game stage are placed, and a plurality ofcharacters are controlled on the terrain objects.

As shown in FIG. 8 , in the virtual space, a user character P and anenemy character EC are placed. The user character P is operated by theuser of this game apparatus (the main body apparatus 2). The enemycharacter EC is operated by another user as an opponent.

In the virtual space, terrain objects forming terrains are placed.Specifically, as the terrain objects, a ground object 200 and a wallsurface object 210 are placed. The ground object 200 is an objectforming the ground, and for example, is a surface parallel to anXZ-plane fixed in the virtual space. The wall surface object 210 is anobject forming a wall surface, and for example, is a surfaceperpendicular to the XZ-plane (a surface parallel to a Y-axis fixed inthe virtual space).

In the virtual space, a virtual camera relating to the user character Pis set, and based on the virtual camera, a game image of the virtualspace including the user character P is generated and displayed on thedisplay device. The virtual camera moves in accordance with the movementof the user character P and rotates about the user character P inaccordance with an operation input (e.g., a direction operation input tothe analog stick 52) provided by the user.

In accordance with operation inputs to the left controller 3 and theright controller 4, the user character P moves in the virtual space andperforms a predetermined action in the virtual space. For example, inaccordance with the pressing of a fire button (e.g., the ZR-button 61 ofthe right controller 3), the user character P shoots liquid (e.g., redink) into the virtual space. The direction in which the liquid is to beshot is set in accordance with an operation input provided by the user.For example, the liquid is shot in the direction of the line of sight ofthe virtual camera controlled in accordance with an operation inputprovided by the user. A predetermined area in the virtual space in thedirection in which the liquid is shot is changed to a first state (e.g.,the state where the predetermined area is painted in red) by the shotliquid. Also if another user of the user's team presses the fire button,the character relating to another user of the user's team shoots liquidin the same color, and a predetermined area in the virtual space in thedirection in which the liquid is shot changes to the first state. Eachof the surfaces of the terrain objects in the virtual space can changeto the first state. In FIG. 8 , a partial area of the ground object 200parallel to the XZ-plane and a partial area of the wall surface object210 perpendicular to the XZ-plane are changed to the first state. InFIG. 8 , an area 201 is a first state area changed by each user of theuser's team shooting liquid. If the liquid shot by the user character Phits the enemy character EC, the enemy character EC is damaged.

If the user relating to the enemy character EC presses the fire button,liquid in a different color (e.g., blue ink) is shot by the enemycharacter EC, and a predetermined area in the virtual space in thedirection in which the liquid is shot is changed to a second state(e.g., the state where the predetermined area is painted in blue) by theshot liquid. The same applies to another character of the enemy team. InFIG. 8 , an area 202 is a second state area changed by each user of theenemy team shooting liquid. If the liquid shot by the enemy character EChits the user character P, the user character P is damaged.

When the game starts, each of the surfaces of the terrain objects is inan initial state, which is neither the first state nor the second state.In FIG. 8 , an area 203 is an initial state area. Each user advances thegame while painting over areas of the terrain objects in the virtualspace in the color of the team to which the user belongs.

The user character P can change to a normal state and a special state.For example, while the ZL-button 39 of the left controller 3 is pressed,the user character P is in the special state. While the ZL-button 39 isnot pressed, the user character P is in the normal state. The enemycharacter EC and another character of the user's team can also change tothe normal state and the special state.

For example, the user character P in the normal state is a human-shapedcharacter. As shown in FIG. 8 , hereinafter, the user character P in thenormal state will be referred to as a “user character PA”. The usercharacter in the normal state and the user character in the specialstate will be collectively referred to as a “user character P”.

The user character P can move on the ground object 200 in accordancewith a direction operation input (e.g., a direction input to the analogstick 32 of the left controller 3) provided by the user. For example,when the user character P is present on the ground object 200, and ifthe right direction of the analog stick 32 is input, the user characterP moves in the right direction of the screen. If the up direction of theanalog stick 32 is input, the user character P moves in the depthdirection of the screen.

The user character PA in the normal state can move on the ground object200 no matter which of the first state, the second state, and theinitial state the ground object 200 is in. In a case where the usercharacter PA is at rest on the ground object 200, and if a directionoperation input is provided, the user character PA accelerates in adirection in the virtual space relating to the input direction of theanalog stick 32 and reaches a certain velocity. If the directionoperation input ends, the user character P starts decelerating and stopsafter the lapse of time. The acceleration and the certain velocity atwhich the user character P moves on the ground object 200 differdepending on the area where the user character P is located and thestate of the user character P.

Specifically, if the user character PA in the normal state is present onthe first state area 201 or the initial state area 203, the usercharacter PA moves at a normal velocity on the first state area 201 orthe initial state area 203 in accordance with a direction operationinput. Hereinafter, the “normal velocity” will mean the velocity atwhich the user character PA moves at a certain velocity on the firststate area 201 or the initial state area 203.

If the user character PA in the normal state is present on the secondstate area 202, the user character PA moves at a velocity slower thanthe normal velocity on the second state area 202 in accordance with adirection operation input. That is, a certain velocity of the usercharacter PA on the second state area 202 is a velocity slower than thenormal velocity.

In the virtual space, gravity always acts downward. If there is not asurface parallel to the XZ-plane or a surface at a predetermined angleor less to the XZ-plane below the user character P, the user character Pcontinues to fall downward. Thus, the user character PA cannot continueto be located on the wall surface object 210. Even if the user characterPA momentarily comes into contact with the wall surface object 210, theuser character PA falls to the ground object 200. As will be describedbelow, however, if the user character P is in the special state, theuser character P can also continue to be located on the wall surfaceobject, or move.

In accordance with an operation input to a jump button (e.g., theB-button 54 of the right controller 4), the user character PA in thenormal state jumps on the ground object 200 in any of the first state,the second state, and the initial state. After jumping, the usercharacter PA falls downward due to gravity.

FIG. 9 is a diagram showing an example of a game image when the usercharacter P is changed to the special state. As shown in FIG. 9 , thedisplay form (the shape, the color, the pattern, and the like) of theuser character P in the special state is different from that in thenormal state. In FIG. 9 , the user character P in the special state isrepresented by a triangle. The display form of the user character P inthe special state may be any display form. As shown in FIG. 9 ,hereinafter, the user character P in the special state will occasionallybe referred to as a “user character PB”.

If the user character PB in the special state is present on the firststate area 201, the user character PB is in a hidden state where theuser character PB is hidden in the liquid. In the hidden state, the usercharacter PB in the special state is in the state where the usercharacter PB is difficult to visually confirm, and is in the state wherethe user character PB is difficult for the enemy character EC (the userrelating to the enemy character) to discover. Thus, the user characterPB in the hidden state is in the state where the user character PB isless likely to be attacked by the enemy character EC and isadvantageous. Specifically, the first state area 201 is an image inwhich liquid is painted on the ground object 200, and looks planar (isnot different or slightly different in level from the ground in theinitial state). In the hidden state, however, the first state area 201is an image in which the user character PB crawls under the ground. As aresult, the outward appearances of a portion where the user character PBis hidden and a portion where the user character PB is not hidden arethe same as or slightly different from each other. Thus, the usercharacter PB is difficult for another user to discover. In the hiddenstate, the user character PB may become planar and assimilated with thesurface of the liquid and become difficult for another user to discover.In FIG. 9 , the user character PB in the hidden state is indicated by adotted triangle. The same applies to other figures.

If, on the other hand, the user character PB in the special state ispresent on an area in the initial state or the second state, the usercharacter PB is in an exposed state. In the exposed state, the usercharacter PB in the special state is in the state where the usercharacter PB is easy to visually confirm, and is in the state where theuser character PB is easy for the enemy character EC (the user relatingto the enemy character) to discover. For example, the exposed state isthe state where the entire body of the user character PB in the specialstate is exposed. Thus, the user character PB in the exposed state islikely to be attacked by the enemy character EC. The user character PAin the normal state is in the exposed state no matter which of the areas201 to 203 the user character PA is in. On the second state area 202,the user character P cannot change to the special state. Thus, on thesecond state area 202, the user character P is in the exposed state.

The user character PB in the special state jumps on the ground object200 in accordance with an operation input to the jump button. If theuser character PB in the hidden state jumps, the user character PBtemporarily moves in the up direction in the virtual space and changesto the exposed state. In the following figures, the user character PB inthe exposed state is indicated by a solid triangle. The user characterPB in the exposed state is easy for the enemy character EC to thediscover.

The user character PB in the special state can move on the ground object200 in accordance with a direction operation input (e.g., a directioninput to the analog stick 32) provided by the user. When the usercharacter PB in the special state is present on the first state area 201in the ground object 200 (i.e., is in the hidden state), the usercharacter PB can move at a first velocity faster than the normalvelocity in accordance with a direction operation input. Specifically,when the user character PB is in the hidden state, and if a directionoperation input is provided using the analog stick 32, an accelerationis applied to the user character PB in a direction in the virtual spacerelating to the input direction. If the input to the same direction iscontinued, the user character PB in the hidden state is accelerated tothe first velocity faster than the normal velocity. The acceleration ofthe user character PB in the hidden state may be greater than theacceleration of the user character PA in the normal state. If thedirection operation input ends, the user character PB in the hiddenstate decelerates and stops after the lapse of time.

When the user character PB is moving in a first direction on the firststate area 201 in the ground object 200, and if a direction operationinput for moving the user character PB in a second direction isprovided, the moving direction of the user character PB changes to thesecond direction. Specifically, the user character PB does notimmediately change direction to the second direction, but changesdirection to the second direction under the influence of inertia over acertain time. That is, when the user character PB is moving in the firstdirection, and if a direction operation input for moving the usercharacter PB in the second direction is provided, the moving directionof the user character PB changes from the first direction to the seconddirection over a certain time. “During a change of direction” refers tothe period when the moving direction of the user character PB changesfrom the first direction to the second direction. “A change of directionis completed” refers to the moving direction of the user character PBchanging to the second direction.

On the initial state area 203, the user character PB in the specialstate moves at a velocity slower than the normal velocity in accordancewith a direction operation input. On the initial state area 203, theacceleration of the user character PB in the special state may besmaller than the accelerations of the user character PB in the hiddenstate and the user character PA in the normal state.

FIG. 10 is a diagram showing an example of the state where the usercharacter PB in the special state is present on the wall surface object210. FIG. 11 is a diagram showing an example of the state where the usercharacter PB in the special state moves on the wall surface object 210.

As shown in FIGS. 10 and 11 , the user character PB in the special statecan move on the wall surface object 210. Specifically, the usercharacter PB moves in a direction relating to a direction operationinput on the first state area 201 in the wall surface object 210. Forexample, in a case where the user character PB in the special state ispresent on the first state area 201 in the wall surface object 210, andif a direction operation input to the up direction is provided using theanalog stick 32, the user character PB moves in the up direction on thefirst state area 201 in the wall surface object 210. If a directionoperation input to the right direction is provided, the user characterPB moves in the right direction on the first state area 201 in the wallsurface object 210.

The moving velocity of the user character PB on the wall surface object210 is faster than the normal velocity. This moving velocity may be thefirst velocity, or may be slower than the first velocity. The movingvelocities in the up direction and the down direction on the wallsurface object 210 may be influenced/affected by gravity.

In a case where the user character PB is present on the first state area201 in the wall surface object 210, and if a direction operation inputis not provided, the user character PB automatically moves downwardunder the influence of gravity. The fall velocity in this case is slowerthan a normal fall velocity (e.g., the fall velocity in a case where theuser character PB is present on the wall surface and not present on thefirst state area 201), and the user character PB moves downwardrelatively slowly along the wall surface object 210.

As shown in FIG. 11 , the user character PB present on the first statearea 201 in the wall surface object 210 cannot move while remaining inthe hidden state beyond the boundary between the area 201 and anotherarea (the second state area 202 or the initial state area 203 in thewall surface object 210). If the user character PB goes beyond theboundary, the user character PB changes to the exposed state and falls.

Next, a description is given of actions in a case where the jump buttonis pressed when the user character PB in the special state is moving onthe first state area 201. First, a description is given of jump actionswhen the user character PB in the special state is moving on the firststate area 201 in the ground object 200. In the exemplary embodiment,when the user character PB in the special state is moving on the firststate area 201 in the ground object 200, and if the jump button ispressed, different jump actions are performed in a case where a velocitycondition and a first direction condition described below are satisfiedand a case where the velocity condition and the first directioncondition are not satisfied. Specifically, if at least either one of thevelocity condition and the first direction condition is not satisfied, afirst jump action is performed. If the velocity condition and the firstdirection condition are satisfied, a second jump action is performed. Adescription is given below of the first jump action and the second jumpaction.

First Jump Action

FIG. 12 is a diagram showing an example of the trajectory of the usercharacter PB in a case where the first jump action involving a change ofdirection to the depth direction of the screen is performed when theuser character PB in the special state is moving in the right directionon the first state area 201 in the ground object 200. FIG. 13 is adiagram showing an example of the trajectory of the user character PB ina case where the first jump action involving a change of direction tothe left direction is performed when the user character PB in thespecial state is moving in the right direction on the first state area201 in the ground object 200.

In FIGS. 12 and 13 , a dotted triangle indicates the position of theuser character PB in the hidden state immediately before the jump buttonis pressed. A solid triangle indicates the user character PB whilejumping (in the exposed state) after the change of direction. A solidarrow indicates the trajectory of the user character PB. In FIGS. 12 and13 , for simplicity, the user character PB and the area 201 around theuser character PB are displayed in an enlarged manner FIGS. 12 and 13show images when the user character PB is jumping, in which the shadowof the user character PB is projected onto the ground and whichrepresent the user character PB floating in the air.

As shown in FIG. 12 , when the user character PB is present on the firststate area 201 in the ground object 200, and if a direction operationinput to the right direction is continued, the user character PB movesin the right direction while remaining in the hidden state. When theuser character PB is moving in the right direction, and for example, ifa direction operation input to the up direction is provided and the jumpbutton is pressed, and if at least either one of the velocity conditionand the first direction condition is not satisfied, the first jumpaction is performed. In the first jump action, as described above, ittakes a certain time for the moving direction of the user character PBto change to the depth direction under the influence of inertia.Specifically, when the user character PB is moving in the rightdirection, and if a direction operation input to the up direction isprovided and the jump button is pressed, the user character PB jumps,and the velocity in the right direction decreases, and the usercharacter PB also accelerates in the depth direction. Then, if a certaintime elapses, the moving direction of the user character PB changes tothe depth direction (a Z-axis direction in FIG. 12 ). While the usercharacter PB is jumping, the user character PB is in the exposed state,and the acceleration in a direction relating to the input direction issmaller than that in the hidden state. Thus, in a case where a directionoperation input for a change of direction is provided together with aninput to the jump button, it takes a longer time to reach a certainposition after the change of direction than in a case where only adirection operation input for a change of direction is merely provided.The timing when the user character PB jumps may not only be the timingwhen the jump button is pressed, but also be during the decrease in thevelocity in the right direction, or after the change of direction to thedepth direction. When the user character PB starts jumping, the movingdirection of the user character PB may remain in the right direction,and the moving direction may change to the depth direction during thejump.

As shown in FIG. 13 , when the user character PB is moving in the rightdirection while remaining in the hidden state, and for example, if adirection operation input to the left direction is provided and the jumpbutton is pressed, and if at least either one of the velocity conditionand the first direction condition is not satisfied, the first jumpaction is performed. Specifically, if a direction operation input to theleft direction is provided and the jump button is pressed, the usercharacter PB jumps, and the velocity in the right direction decreases.Then, after a certain time elapses, the moving direction of the usercharacter PB changes to the left direction. The decreased velocity inthe right direction is made fast under the influence of the accelerationin the left direction due to the direction operation input to the leftdirection.

FIG. 14 is a diagram showing examples of a change in the position of theuser character PB and a velocity vector at this position in a case wherethe first jump action shown in FIG. 12 is performed. FIG. 15 is adiagram showing examples of a change in the position of the usercharacter PB and a velocity vector at this position in a case where thefirst jump action shown in FIG. 13 is performed.

In FIGS. 14 and 15 , arrows represent velocity vectors of the usercharacter PB at times (t0, t1, t2, . . . ). The starting point of eacharrow represents the position of the user character PB at the time, thedirection of the arrow represents the moving direction, and the lengthof the arrow represents the speed. The interval between times is, forexample, one to several frame times. For example, one frame time may be1/60 seconds.

As shown in FIG. 14 , at a time t0, a direction operation input to theright direction is provided, and the user character PB is moving in theright direction at a velocity that does not satisfy the velocitycondition. Suppose that at a time t1, a direction operation input to theup direction and an input to the jump button are provided. In this case,at the time t1, the user character PB jumps and changes to the exposedstate due to the jump. At the time t1, the moving direction of the usercharacter PB does not change to the depth direction (the Z-axisdirection) of the screen, and the user character PB maintains themovement in the right direction and decreases the velocity in the rightdirection. The length of the velocity vector at the time t1 is shorterthan the length of the velocity vector at the time t0. Also during timest2 to t4, the user character PB continues to move in the right directionwhile continuing the jump state. During these times, however, the usercharacter PB continues to decrease the velocity in the right direction.That is, during the times t1 to t4, the user character PB is changingdirection. Then, at a time t5, an X-direction component of the velocityvector of the user character PB becomes “0”. That is, at the time t5,the moving direction of the user character PB changes to the depthdirection of the screen (i.e., the change of direction is completed).The velocity of the user character PB immediately after the change ofdirection (the length of the velocity vector at the time t5) is lessthan the first velocity. At the time t6 and after that, the jump stateends due to a fall. The moving direction of the user character PBcontinues to be the depth direction of the screen. The timing when thejump of the user character PB ends may be between the times t2 and t5.In a case where the user character PB changes direction and jumps by thefirst jump action, the acceleration is made slower than in a case wherethe user character PB changes direction while remaining in the hiddenstate. Thus, the user character PB is more likely to be attacked by theenemy character EC.

As shown in FIG. 15 , suppose that when the user character PB is movingin the right direction, at a time t1, a direction operation input to theleft direction and an input to the jump button are provided. In thiscase, at the time t1, the user character PB jumps and changes to theexposed state due to the jump. At the time t1, the moving direction ofthe user character PB does not change to the left direction, and theuser character PB maintains the movement in the right direction anddecreases the velocity in the right direction. The length of thevelocity vector at the time t1 is shorter than the length of thevelocity vector at a time t0. Also during times t2 to t4, the usercharacter PB continues to move in the right direction while continuingthe jump state. During these times, however, the user character PBcontinues to decrease the velocity in the right direction. Then, at atime t5, the velocity vector of the user character PB has a component ina negative X-axis direction. That is, at the time t5, the movingdirection of the user character PB changes to the left direction of thescreen (i.e., the change of direction is completed). The velocity of theuser character PB immediately after the change of direction (the lengthof the velocity vector at the time t5) is less than the first velocity.At the time t6 and after that, the jump state ends due to a fall. Themoving direction of the user character PB continues to be the leftdirection. The timing when the jump of the user character PB ends may beany time between the times t2 and t5. The timing when the user characterPB starts jumping may be the timing when the user character PB startsmoving in the left direction (the time t5).

As described above, in a case where a jump action involving a change ofdirection is performed, and if the velocity condition or the firstdirection condition is not satisfied, the first jump action isperformed. In a case where the first jump action is performed, the usercharacter PB decelerates under the influence of inertia over apredetermined time and then changes the moving direction.

Velocity Condition and First Direction Condition

Next, the velocity condition and the first direction condition aredescribed. In the exemplary embodiment, the velocity condition is acondition regarding, if an input to the jump button is provided when theuser character PB is in the hidden state, the moving velocity of theuser character PB during a predetermined period set based on the time ofthe input to the jump button. The predetermined period may be, forexample, a predetermined number of frame times (e.g., 10 to 20 frametimes) in the past including the time of the input to the jump button,or may be the time of the input or a predetermined time in the pastbefore the time of the input. The predetermined period may or may notinclude the time of the input to the jump button. Specifically, thevelocity condition is satisfied when the maximum value of the movingvelocity of the user character PB during the predetermined period isgreater than or equal to a first threshold. For example, the firstthreshold may be 70 to 80% of the first velocity. The velocity conditionmay be satisfied in a case where the average velocity of the usercharacter PB during the predetermined period is greater than or equal tothe first threshold. The velocity condition may be satisfied in a casewhere the velocity of the user character PB during the predeterminedperiod is always greater than or equal to the first threshold. That is,the velocity condition is a condition that is satisfied when the movingvelocity of the user character PB is relatively fast at the time when orimmediately before an input to the jump button is provided. The velocitycondition is a condition that is not satisfied when the user characterPB is not moving, or is moving at a slow velocity.

The first direction condition is a condition regarding, if an input tothe jump button is provided when the user character PB is moving in thefirst direction in the hidden state, a direction operation input formoving the user character PB in the second direction different from thefirst direction. The first direction condition is satisfied when thedifference between the first direction and the second direction isgreater than or equal to a second threshold. That is, the firstdirection condition is satisfied in a case where a direction operationinput to a direction largely away from the moving direction of the usercharacter PB is provided. Specifically, when the user character PB is inthe hidden state, and if an input to the jump button is provided, it isdetermined whether or not the difference between the direction of thevelocity vector of the user character PB during a predetermined periodset based on the time of the input to the jump button (here referred toas a “before-change-of-direction velocity vector”), and the movingdirection of the user character PB set by a direction operation input atthe time of the input to the jump button is greater than or equal to thesecond threshold. If the result of the determination is affirmative, thefirst direction condition is satisfied. For example, the secondthreshold may be 60 degrees, or may be 70 degrees. Here, thebefore-change-of-direction velocity vector may be a vector having themaximum size among velocity vectors at times during the predeterminedperiod. The before-change-of-direction velocity vector may be theaverage of the velocity vectors at the times during the predeterminedperiod. “The moving direction of the user character PB set by adirection operation input at the time of the input to the jump button”is the moving direction of the user character PB after the change ofdirection, and is the second direction. Specifically, “the movingdirection of the user character PB set by a direction operation input atthe time of the input to the jump button” is a direction in the virtualspace relating to the orientation of the user character PB, the positionof the virtual camera, and the input direction at the time of the inputto the jump button, and is the moving direction in a case where thechange of direction to the direction relating to the input direction isimmediately completed at that time. “The predetermined period set basedon the time of the input to the jump button” used to determine whetheror not the first direction condition is satisfied may be the same as(completely match) or different from (partially overlap or may notoverlap at all) the “predetermined period” used to determine whether ornot the velocity condition is satisfied.

For example, as shown in FIG. 13 , when the user character PB is movingin a positive X-axis direction, and if an input to the jump button isprovided, and if a direction operation input for moving the usercharacter PB in a negative X-axis direction (an input to the leftdirection of the analog stick 32) is provided at the time of the inputto the jump button, the above difference is 180 degrees. In this case,the first direction condition is satisfied. That is, if a directionoperation input for causing the user character PB to change direction toa direction opposite to the moving direction, the first directioncondition is satisfied.

As shown in FIG. 12 , for example, when the user character PB is movingin the positive X-axis direction, and if an input to the jump button isprovided, and if a direction operation input for moving the usercharacter PB in a positive Z-axis direction (an input to the updirection of the analog stick 32) is provided at the time of the inputto the jump button, the above difference is 90 degrees. Also in thiscase, the first direction condition is satisfied. That is, also if adirection operation input for causing the user character PB to changedirection to a direction immediately lateral to the moving direction,the first direction condition is satisfied.

If both the velocity condition and the first direction condition aresatisfied, the second jump action is performed.

In accordance with the moving velocity of the user character PB duringthe predetermined period used to determine the velocity condition, thepredetermined period used to determine the first direction condition,and a predetermined period different from these predetermined periods,the second threshold for satisfying the first direction condition maydiffer. For example, the faster the moving velocity of the usercharacter PB during the predetermined period may be, the smaller thesecond threshold may be. In this case, when the user character PB ismoving at a fast velocity, and even if a change in the input directionof the analog stick 32 is small, the first direction condition issatisfied, and the second jump action is performed. However, when theuser character PB is moving at a slow velocity, and if a change in theinput direction is not great, the first direction condition is notsatisfied, and the second jump action is not performed. As describedabove, if a sufficient velocity is not reached, the second jump actionis not performed. Consequently, when the user character is moving athigh speed, and even if the user character changes direction at a smallangle, it is possible to facilitate the execution of the second jumpaction. When the user character is moving at low speed, and if the usercharacter changes direction at a large angle, it is possible to executethe second jump action.

At the time when an input to the jump button is provided, the amount ofchange in the velocity vector in the past may be calculated, and thesecond threshold for satisfying the first direction condition may bevaried in accordance with the amount of change. For example, if the usercharacter moves straight ahead for a certain period, the secondthreshold may be made small Consequently, if the input direction changesin the state where the user character PB is moving straight ahead, it ispossible to facilitate the execution of the second jump action.

Second Jump Action

Next, the second jump action is described. FIG. 16 is a diagram showingan example of the trajectory of the user character PB in a case wherethe second jump action involving a change of direction to the depthdirection is performed when the user character PB in the special stateis moving in the right direction on the first state area 201 in theground object 200. FIG. 17 is a diagram showing an example of thetrajectory of the user character PB in a case where the second jumpaction involving a change of direction to the left direction isperformed when the user character PB in the special state is moving inthe right direction on the first state area 201 in the ground object200. In FIGS. 16 and 17 , for simplicity, the user character PB and thearea 201 around the user character PB are displayed in an enlargedmanner FIGS. 16 and 17 show images when the user character PB isjumping, in which the shadow of the user character PB is projected ontothe ground and which represents the user character PB floating in theair.

As shown in FIG. 16 , when the user character PB is moving in the rightdirection, and for example, if a direction operation input to the updirection is provided and the jump button is pressed, and if thevelocity condition and the first direction condition are satisfied, thesecond jump action is performed. In the second jump action, the usercharacter PB is not influenced by inertia as described above, and thechange of direction of the user character PB is immediately completed.Specifically, the velocity in the right direction immediately becomeszero, and the moving direction of the user character PB immediatelychanges to the depth direction of the screen. With the change ofdirection to the depth direction, the user character PB jumps.

As shown in FIG. 17 , when the user character PB is moving in the rightdirection while remaining in the hidden state, and for example, if adirection operation input to the left direction is provided and the jumpbutton is pressed, and if the velocity condition and the first directioncondition are satisfied, the second jump action is performed.Specifically, the moving direction of the user character PB immediatelychanges to the left direction. With the change of direction to the leftdirection, the user character PB jumps.

In a case where the second jump action is performed, the user characterPB is in an attack influence reduction state for a predetermined time(e.g., 10 to 20 frame times). The attack influence reduction state isthe state where the disadvantageous influence of the attack of the enemycharacter EC (the shooting of liquid or the like) is reduced. In a casewhere the user character P in the normal state or the special state isnot in the attack influence reduction state, and if the user character Pis attacked by the enemy character EC, the user character P is subjectto disadvantageous influence. For example, the physical strength valueof the user character P decreases, or the offensive strength of the usercharacter P weakens, or the attack of the user character P stops, or themoving velocity of the user character P decreases, or the user characterP retreats to a position further away from the position of the enemyside than the current position. In the attack influence reduction state,this disadvantageous influence is reduced. A method for reducing thedisadvantageous influence in the attack influence reduction state may beany method. For example, in the attack influence reduction state, thephysical strength value of the user character P may increase, or thedefensive strength of the user character P may increase, or theoffensive strength of the enemy character EC may decrease, or the attackof the enemy character EC may stop, whereby the influence on the usercharacter P when the user character P is attacked may be reduced, or theuser character P may not be influenced at all.

As shown in FIGS. 16 and 17 , in the attack influence reduction state,the display form of the user character PB changes. For example, in theattack influence reduction state, the color of the user character PB maychange, or an effect image indicating that the user character PB is inthe attack influence reduction state may be added to the user characterPB. In the attack influence reduction state, a sound effect indicatingthe attack influence reduction state may be output.

The attack influence reduction state may continue while the usercharacter PB is jumping (i.e., while the user character PB is in theexposed state). The user character PB may be in the attack influencereduction state only during a first period (e.g., the first half period)of the period while the user character PB is jumping. The user characterPB may be in the attack influence reduction state while the usercharacter PB is jumping and during a predetermined period from when theuser character PB changes to the hidden state again after the jump.

FIG. 18 is a diagram showing examples of a change in the position of theuser character PB and a velocity vector at this position in a case wherethe second jump action shown in FIG. 16 is performed. FIG. 19 is adiagram showing examples of a change in the position of the usercharacter PB and a velocity vector at this position in a case where thesecond jump action shown in FIG. 17 is performed.

As shown in FIG. 18 , at a time t0, a direction operation input to theright direction is provided, and the user character PB is moving in theright direction at a velocity satisfying the velocity condition (e.g.,the first velocity). Suppose that at a time t1, a direction operationinput to the up direction and an input to the jump button are provided,and the velocity condition and the first direction condition aresatisfied. In this case, at the time t1, the user character PB completesthe change of direction to the depth direction of the screen (the Z-axisdirection) and also jumps. That is, in a case where the second jumpaction is performed, the time until the moving direction of the usercharacter PB changes to the depth direction is shorter than in a casewhere the first jump action is performed. For example, in a case wherethe second jump action is performed, the change of direction iscompleted at the time when input to the jump button is provided.However, in a case where the first jump action is performed, the changeof direction is completed when a certain time elapses from the time whenthe input to the jump button is provided.

The length of the velocity vector at a change-of-direction completiontime “t1” in a case where the second jump action is performed is longerthan the length of the velocity vector at a change-of-directioncompletion time “t5” in a case where the first jump action is performed.That is, in a case where the second jump action is performed, the movingvelocity after the change of direction is faster than in a case wherethe first jump action is performed. For example, in a case where thesecond jump action is performed, the velocity at the change-of-directioncompletion time t1 may be the same as the velocity at the time t0 beforethe change of direction. The velocity at the change-of-directioncompletion time t1 may be set to the maximum velocity during thepredetermined period set based on the time of the input to the jumpbutton, or may be set to the average velocity during the predeterminedperiod. As described above, in a case where the second jump action isperformed, the moving velocity of the user character PB after the changeof direction is maintained at the moving velocity of the user characterPB before the change of direction. That is, in a case where the secondjump action is performed, the user character PB jumps with the change ofdirection without decreasing the velocity. Consequently, it is possibleto quickly change the moving direction of the user character PB and alsomake the velocity after the movement fast. For example, it is possibleto make it easy to avoid the attack of the enemy character EC. Duringthe second jump action, a decrease in the moving velocity may be smallerthan during the first jump action. Alternatively, during the second jumpaction, the moving velocity may not decrease.

As shown in FIG. 19 , suppose that when the user character PB is movingin the right direction, at a time t1, a direction operation input to theleft direction and an input to the jump button are provided, and thevelocity condition and the first direction condition are satisfied. Inthis case, at the time t1, the user character PB completes the change ofdirection to the left direction and also jumps. In a case where thesecond jump action is performed, the time until the moving direction ofthe user character PB changes to the left direction is shorter than in acase where the first jump action is performed. In a case where thesecond jump action is performed, the moving velocity after the change ofdirection is faster than in a case where the first jump action isperformed.

As described above, in the second jump action, the user character PB cansharply change direction, and the velocity after the change of directionis fast. Thus, the user character PB is more advantageous than in a casewhere the first jump action is performed. If the second jump action isperformed, the user character PB is in the attack influence reductionstate and becomes advantageous.

Incidentally, if the second jump action is performed in succession, theuser character PB may quickly change direction and be in the attackinfluence reduction state in succession, and the user character PB maybecome too advantageous. Thus, in a case where the second jump action isperformed in succession within a predetermined time, the moving velocityof the user character PB after the change of direction may berestricted. For example, after the second jump action is performed, andif the second jump action is performed again within a predetermined time(e.g., 90 frame times), the velocity of the user character PB after thechange of direction is decreased. For example, in a case where thesecond jump action is not performed in succession, as described above,the moving velocity after the change of direction is maintained at themoving velocity before the change of direction. On the other hand, in acase where the second jump action is performed in succession, the movingvelocity after the change of direction may be set to a value obtained bymultiplying “the moving velocity before the change of direction”calculated as described above by a predetermined attenuation rate. In acase where the second jump action is not performed in succession, themoving velocity after the change of direction may be set to the firstvelocity. In a case where the second jump action is performed insuccession, the moving velocity after the change of direction may be setto a velocity smaller than the first velocity. Every time the secondjump action is performed in succession, the moving velocity after thechange of direction may decrease. As described above, the movingvelocity after the change of direction decreases, whereby the usercharacter PB becomes disadvantageous. Thus, it is possible to preventthe user from performing the second jump action in succession. Themoving velocity after the change of direction decreases, whereby thevelocity condition cannot be satisfied. Thus, it is possible to preventthe second jump action from being performed in the first place.

As described above, in the exemplary embodiment, when the user characterPB is moving in the first direction, and if the jump button is pressedand a direction operation input for moving the user character PB in thesecond direction is provided, and if the velocity condition and thefirst direction condition are satisfied, the second jump action isperformed. In a case where the second jump action is performed, the usercharacter PB immediately changes direction and jumps.

Consequently, it is possible to cause the user character PB toimmediately change direction. In a case where the velocity condition issatisfied, the second jump action can be performed. Thus, it is possibleto promote the movement of the user character PB at a fast velocity inthe moving direction. The second jump action is performed when a changeof direction to a direction away from the moving direction is made.Thus, for example, when the user character PB is moving toward the enemyside, it is possible to quickly move the user character PB in adirection opposite to the moving direction, where necessary. Thus, it ispossible to avoid the attack of the enemy. In a case where the secondjump action is performed, the user character PB is in the attackinfluence reduction state. Thus, it is possible to reduce the attack ofthe enemy when the user character PB escapes from the enemy. The attackinfluence reduction state ends in a short time. Thus, it is possible toprevent the user having performed the second jump action from becomingtoo advantageous. In a case where the second jump action is performed insuccession within a predetermined time, the velocity after the change ofdirection becomes slow. Thus, it is possible to prevent the second jumpaction from being performed in succession. Thus, it is possible toprevent the user character PB from becoming too advantageous.

Jump Action on Wall Surface

Next, a jump action on the wall surface object 210 is described. Asdescribed above, the user character PB in the special state can move onthe first state area 201 in the wall surface object 210. The usercharacter PB in the special state can also perform a jump action on thewall surface object 210. Specifically, when the user character PB in thespecial state is present on the wall surface object 210, and if an inputto the jump button is provided, and if a second direction condition issatisfied, the user character PB performs a third jump action. Similarlyto the second jump action, the third jump action is a jump action inwhich the user character PB can quickly change direction, and is a jumpaction in which the user character PB is temporarily in the attackinfluence reduction state. When the user character PB in the specialstate is present on the wall surface object 210, and if an input to thejump button is provided, and if the second direction condition is notsatisfied, the user character PB can perform a normal jump action alongthe wall surface. When the user character PB in the special state ispresent on the wall surface object 210, and if a long-press input to thejump button is provided, the user character PB performs a wall climbingaction described below.

FIG. 20 is a diagram showing an example of the state where the usercharacter PB in the special state performs the third jump action on thewall surface object 210.

As shown in FIG. 20 , when the user character PB in the special state ispresent on the first state area 201 on the wall surface object 210, andif an input to the jump button is provided, and if the second directioncondition is satisfied, the third jump action is performed. The seconddirection condition is satisfied in a case where a direction operationinput to a direction away from the wall surface object 210 is provided.Based on the direction operation input and a direction normal to thewall surface object 210 at the time when the input to the jump button isprovided, it is determined whether or not the second direction conditionis satisfied. Specifically, if the angle between the input direction ofthe analog stick 32 and the direction of a normal vector of the wallsurface object 210 viewed from the virtual camera at the time when theinput to the jump button is provided is less than or equal to athreshold (e.g., 60 degrees), the second direction condition issatisfied.

FIG. 21 is a diagram illustrating the second direction condition. Asshown in FIG. 21 , the input direction of the analog stick isrepresented as an input vector in an xy-coordinate system. An x-axisdirection indicates an input of the right direction, and a y-axisdirection indicates an input of the up direction. A “two-dimensionalnormal vector” in FIG. 21 is “the direction of the normal vector of thewall surface object 210 viewed from the virtual camera”. For example,the two-dimensional normal vector is a vector obtained by projecting athree-dimensional normal vector of the wall surface object 210 in thevirtual space onto a plane perpendicular to the direction of the line ofsight of the virtual camera (a projection plane). If the angle betweenthe input vector and the two-dimensional normal vector is less than orequal to a predetermined value, the second direction condition issatisfied. For example, in a case where a wall surface object isdisplayed on the left side of the screen, and the user character PB inthe special state is located on the wall surface object, and if theright direction of the analog stick 32 is input, the normal vector ofthe wall surface object and the input vector are directed in the samedirection. In this case, the second direction condition is satisfied. Ina case where a wall surface object is present in front of the virtualcamera and the user character PB in the special state is present on thewall surface object, and if the down direction of the analog stick 32 isinput, the second direction condition is satisfied.

As shown in FIG. 20 , if the third jump action is performed, the usercharacter PB jumps in a direction away from the wall surface object 210.At this time, the user character PB is temporarily in the attackinfluence reduction state. The continuation time of the attack influencereduction state involved in the third jump action may be the same as ordifferent from the continuation time (e.g., 10 to 20 frame times) of theattack influence reduction state involved in the second jump action.

When the user character PB is moving in a first direction on the wallsurface object 210, and if the third jump action is performed, similarlyto the second jump action, the movement in the first direction is notdecelerated, and the user character PB immediately starts moving in adirection away from the wall surface object 210. That is, the usercharacter PB immediately changes direction in the direction away fromthe wall surface. Also in a case where the third jump action isperformed, similarly to a case where the second jump action isperformed, the velocity of the user character PB after the change ofdirection is set to the velocity of the user character PB before thechange of direction. For example, when the user character PB is movingin the up direction on the wall surface object 210 present in front ofthe screen, and if an input to the down direction is provided with aninput to the jump button, the movement in the up direction is notdecelerated, and the user character PB starts moving in a direction awayfrom the wall surface object 210. In a case where the third jump actionis performed, the velocity of the user character PB after the change ofdirection (the velocity of the user character PB when the user characterPB jumps in a direction away from the wall surface) may be a certainvelocity without depending on the velocity of the user character PBbefore the change of direction. This certain velocity may be the same asa second velocity, or faster than the second velocity, or slower thanthe second velocity.

In contrast, although not shown in the figures, when the user characterPB is moving in the first direction on the wall surface object 210, andeven if a direction operation input is provided with an input to thejump button, but if the input direction does not satisfy the seconddirection condition, the third jump action is not performed. In thiscase, the user character PB performs the normal jump action on the wallsurface. Specifically, when the user character PB is present on the wallsurface object 210, and if the jump button is short-pressed (released ina short time after being pressed), the user character PB moves by apredetermined distance while remaining in the hidden state in the inputdirection and a direction along the wall surface object 210. When theuser character PB is present on the wall surface object 210, and if thejump button is long-pressed, the user character PB performs a wallclimbing action. The wall climbing action is described below.

Wall Climbing Action

The wall climbing action is an action in which the user character PBclimbs the wall surface object 210 at high speed. The wall climbingaction is performed in a case where the jump button is released afterthe jump button is long-pressed when the user character PB is present onthe wall surface object 210. Before the wall climbing action isperformed, the user character PB performs a preliminary action. Thepreliminary action can be regarded as an action for charging the forceto perform the wall climbing action. The longer the time of thepreliminary action is, the more force is accumulated, and the faster themoving velocity is when the wall climbing action is performed.

FIG. 22 is a diagram showing an example of the state where the usercharacter PB performs the preliminary action before performing the wallclimbing action. FIG. 23 is a diagram showing an example of chargecompletion representation when the preliminary action is performed for apredetermined time.

As shown in FIG. 22 , when the user character PB is present on the wallsurface object 210, and while the jump button is being long-pressed, theuser character PB performs the preliminary action. During thepreliminary action, the display form of the user character PB is suchthat the user character PB is easier to visually confirm than in thehidden state. Thus, during the preliminary action, the user character PBis also easy for (the user relating to) the enemy character EC tovisually confirm. For example, during the preliminary action, thedisplay form of the user character PB is such that a part of the usercharacter PB stands out from liquid. While the user character PB isperforming the preliminary action, an effect image is displayed thatindicates that it is during the preliminary action. Thus, the usercharacter PB is easy to visually confirm. Here, the display form of theuser character PB of which the visibility is high during the preliminaryaction is occasionally referred to as a “preliminary action form”. InFIG. 22 , the user character PB in the preliminary action form isdisplayed as a bold triangle. The same applies to other figures. Duringthe preliminary action, the user character PB is in the preliminaryaction form, and a sound effect may also be output.

If a direction operation input is provided using the analog stick 32during the preliminary action, the user character PB moves in the inputdirection on the wall surface object 210. The moving velocity of theuser character PB, however, is slower than when the user character PBdoes not perform the preliminary action. Specifically, the longer thetime elapsed since the preliminary action has been started is, theslower the moving velocity of the user character PB when a directionoperation input is provided is. During the preliminary action, thedownward moving velocity due to gravity becomes slow. The longer thetime elapsed since the preliminary action has been started is, theslower the downward moving velocity due to gravity is.

As shown in FIG. 23 , if a predetermined time elapses since thepreliminary action has been started, charge completion representation isperformed. For example, in the charge completion representation, thecolor or the shape of the user character PB may change, or an effectimage may be added to the user character PB, or a sound effect may beoutput. Also after the charge completion representation, the usercharacter PB continues the preliminary action so long as thelong-pressing of the jump button continues. During the preliminaryaction after the charge completion representation, the user character PBfalls slightly downward under the influence of gravity. During thepreliminary action after the charge completion representation, the usercharacter PB may not fall downward under the influence of gravity.During the preliminary action after the charge completionrepresentation, the user character PB moves at low speed on the wallsurface object 210 in accordance with a direction operation input.

Next, with reference to FIGS. 24 to 27 , a description is given of anexample of the wall climbing action after the user character PB performsthe preliminary action. FIG. 24 is a diagram showing an example of thestate where the user character PB starts the wall climbing action afterthe long-pressing of the jump button is released. FIG. 25 is a diagramshowing an example of the state where the user character PB reaches theboundary of the first state area 201 during the wall climbing action.FIG. 26 is a diagram showing an example of the state where the usercharacter PB jumps high upward beyond the boundary of the first statearea 201 after FIG. 25 . FIG. 27 is a diagram showing an example of thestate where the user character PB lands on an upper surface 220 afterFIG. 26 .

As shown in FIG. 24 , after the charge completion representation isperformed, in accordance with the release of the jump button, the usercharacter PB moves on the first state area 201 in the wall surfaceobject 210. The moving velocity of the user character PB in this case isa second velocity faster than the first velocity. Specifically, when thejump button is released, and for example, if a direction operation inputto the up direction is provided using the analog stick 32, the usercharacter PB moves at the second velocity in the up direction on thefirst state area 201 in the wall surface object 210. While the directionoperation input to the up direction continues, the moving velocity ofthe user character PB is maintained at the second velocity. An action inwhich the user character PB moves in the up direction on the first statearea 201 in the wall surface object 210 in accordance with the releaseof the long-pressing of the jump button is referred to as a “wallclimbing action”. During the wall climbing action, for example, if theinput direction of the analog stick 32 changes to the diagonally upperright direction, the user character PB changes the moving direction tothe diagonally upper right direction while maintaining the movingvelocity. That is, during the wall climbing action, the user characterPB moves at the second velocity in a direction relating to the inputdirection of the analog stick 32.

During the wall climbing action, if the input to the up direction ends,the wall climbing action ends. Specifically, if an up directioncomponent of the input direction of the analog stick 32 becomes “0”, theuser character PB decelerates, and the processing returns to control onthe normal wall surface object 210 as shown in FIG. 10 .

When the jump button is released, and if the second direction conditionis satisfied, the third jump action described with reference to FIG. 20is performed.

After the wall climbing action is started, and if the input to the updirection continues, the user character PB moves at the second velocityto the boundary between the first state area 201 in the wall surfaceobject 210 and an area different from the area 201. For example, asshown in FIG. 25 , the user character PB moves to the boundary betweenthe first state area 201 and the initial state area 203. Or if aboundary is formed between the first state area 201 and the second statearea 202, the user character PB moves to this boundary.

As shown in FIG. 26 , after the user character PB reaches the aboveboundary, the user character PB jumps from the boundary and moves upwardin the virtual space beyond the boundary. The user character PB havingbeen moving at the second velocity jumps high to swiftly fly out beyondthe boundary due to inertia. Here, an action in which the user characterPB jumps beyond the boundary by the wall climbing action is occasionallyreferred to as a “fourth jump action”. The direction in which the usercharacter PB flies out from the boundary depends on the input directionof the analog stick 32 at that time, and the initial velocity of theuser character PB when the user character PB flies out is the secondvelocity, which is the same as during the wall climbing action.

When the user character PB flies out from the boundary, the usercharacter PB is in the attack influence reduction state. Thecontinuation time of the attack influence reduction state involved inthe wall climbing action may be longer than or the same as thecontinuation time of the attack influence reduction state involved inthe second jump action. For example, the continuation time of the attackinfluence reduction state involved in the wall climbing action may be 40to 50 frame times. The attack influence reduction state may be set atthe timing when the jump button is released. The attack influencereduction state may be set during the wall climbing action.

After the user character PB swiftly flies out from the boundary, theuser character PB moves upward in the virtual space to the highest pointand then falls downward due to gravity. For example, as shown in FIG. 27, the user character PB falls onto the upper surface 220 above the wallsurface object 210 (a surface parallel to the ground object 200).

After the long-pressing of the jump button is started, and if the jumpbutton is released before the charge completion representation isperformed, the wall climbing action is performed. However, the movingvelocity of the user character PB during the wall climbing action andwhen the user character PB reaches the above boundary is slower than thesecond velocity. Also in this case, when the user character PB reachesthe boundary, the user character PB is in the attack influence reductionstate. Specifically, the longer the continuation time of thelong-pressing of the jump button (the continuation time of thepreliminary action) is, the faster the moving velocity of the usercharacter PB during the wall climbing action is. If the continuationtime of the long-pressing reaches a predetermined time, the chargecompletion representation is performed. The moving velocity of the usercharacter PB during the wall climbing action is the second velocity,which is the maximum velocity. If the jump button is released before thecharge completion representation is performed, the velocity of the usercharacter PB when the user character PB reaches the boundary of the area201 is slower than the second velocity (may be slower than the firstvelocity depending on the time of the preliminary action). Thus, even ifthe user character PB jumps beyond the boundary, the user character PBcan jump only to a position lower than the above highest point. The timein which the attack influence reduction state continues may differdepending on whether or not the charge completion representation isperformed, or may be the same. In a case where the long-pressing of thejump button is released before the charge completion representation isperformed, the time in which the attack influence reduction statecontinues may differ in accordance with the time of the preliminaryaction, or may be the same. For example, the longer the time of thepreliminary action is, the longer the time in which the attack influencereduction state continues may be.

During the preliminary action and during the wall climbing action, ifthe user character P returns from the special state to the normal state(if the ZL-button 39 is released), the preliminary action and the wallclimbing action are interrupted, and the user character P falls from thewall surface object 210. When the user character PB is in the attackinfluence reduction state, and if the user character P returns from thespecial state to the normal state, the attack influence reduction statealso ends.

As described above, the user character PB is caused to perform the wallclimbing action, whereby it is possible to cause the user character PBto swiftly fly out from the boundary of the first state area 201 on thewall surface, and cause the user character PB to jump higher.Consequently, even if the wall surface object 210 is not changed to thefirst state up to an upper area of the wall surface object 210, it ispossible to move the user character PB upward. The user character PBflies out high, thereby changing to the exposed state. The usercharacter PB, however, changes to the attack influence reduction state.Thus, it is possible to avoid the state where the user character PB isdisadvantageous. The time when the user character PB is in the attackinfluence reduction state is limited. Thus, it is possible to preventthe user character PB from becoming extremely too advantageous.

Data used in Game Processing

Next, data used in the game processing is described. FIG. 28 is adiagram showing an example of data stored in the information processingsystem 1. During the execution of the game processing, the data shown inFIG. 28 is mainly stored in the DRAM 85 of the main body apparatus 2.The information processing system 1 stores various pieces of data inaddition to these pieces of data.

As shown in FIG. 28 , the information processing system 1 stores a gameprogram, operation data, area state data, user character data, and othercharacter data.

The game program is a game program for executing the game processingdescribed below. The game program is stored in advance in a storagemedium attached to the slot 23 or the flash memory 84 and is loaded intothe DRAM 85 when the game is executed.

The operation data is data relating to operation inputs to the buttons,the analog sticks, and the like of the left controller 3 and the rightcontroller 4. The operation data is transmitted from the left controller3 and the right controller 4 to the main body apparatus 2 atpredetermined time intervals (e.g., 1/200 second intervals).

The area state data is data that stores the state of each of thesurfaces of the terrain objects (the ground object 200, the wall surfaceobject 210, and the like) in the virtual space. The area state dataindicates whether the area of each of the surfaces of the terrainobjects is in the first state, the second state, or the initial state.

The user character data is data regarding the user character P relatingto the user of the main body apparatus 2. The user character dataincludes position data, state data, velocity data, and physical strengthvalue data. The position data is data indicating the position of theuser character P in the virtual space. The state data includes dataindicating whether the user character P is in the normal state or thespecial state. The state data includes data indicating whether the usercharacter P is in the hidden state or the exposed state. The state dataincludes data indicating whether or not the user character P is in theattack influence reduction state.

The velocity data is data indicating the moving velocity and the movingdirection of the user character P and data indicating velocity vectors.The velocity data includes velocity vectors at the current moment and ina predetermined number of frames in the past.

The physical strength value data is data indicating the current physicalstrength value of the user character P. If the user character P isattacked by the enemy character EC, the physical strength valuedecreases.

The other character data is data regarding a character relating to auser of an apparatus different from the main body apparatus 2 andincludes data regarding each character of the user's team and dataregarding each character of the enemy team. Similarly to the usercharacter data, the other character data includes position data, statedata, velocity data, and physical strength value data. For example, themain body apparatus 2 receives the other character data from anotherapparatus via the Internet. Based on the received other character data,the main body apparatus 2 controls each character of the user's team andeach character of the enemy team.

Details of Game Processing Performed by Main Body Apparatus

Next, the details of the game processing performed by the main bodyapparatus 2 are described. FIG. 29 is a flow chart showing an example ofthe game processing performed by the main body apparatus 2. The gameprocessing shown in FIG. 29 is performed by the processor 81 of the mainbody apparatus 2 executing the game program. The processor 81 repeatedlyperforms the processes of steps S1 to S11 at predetermined timeintervals (e.g., 1/60 second intervals).

In step S1, the processor 81 acquires the operation data output from theleft controller 3 and the right controller 4. After step S1, step S2 isexecuted.

In step S2, based on the acquired operation data, the processor 81determines whether or not a state change button (e.g., the ZL-button 39)for changing the user character P to the special state is being pressed.If the determination is YES in step S2, next, the process of step S3 isperformed. If the determination is NO in step S2, next, the process ofstep S4 is performed.

In step S3, the processor 81 sets the user character P to the specialstate. In a case where the user character P is set to the special state,and if the user character P is located on the first state area 201, theprocessor 81 sets the user character P to the hidden state.Specifically, the processor 81 sets data relating to each state in thestate data of the user character data stored in the DRAM 85.

In step S4, based on the acquired operation data, the processor 81determines whether or not the fire button (e.g., the ZR-button 61) forcausing the user character P to shoot liquid is pressed. If thedetermination is YES in step S4, next, the process of step S5 isperformed. If the determination is NO in step S4, next, the process ofstep S6 is performed.

In step S5, the processor 81 performs a liquid shooting process.Specifically, if the fire button is pressed, the processor 81 starts theshooting of liquid in a color relating to the team of the user characterP in the direction of the line of sight of the virtual camera (adirection specified by the user). If the shooting of the liquid isstarted, the user character P is in the state where the shooting processis being performed for a plurality of frame times. The shooting processstarted in accordance with a single pressing of the fire button isrepeatedly performed over a plurality of frame times, whereby the statewhere the user character P shoots the liquid is displayed, and the statewhere the surface of a terrain object is painted over with the liquid isalso displayed. When the user character P is in the special state, andif the fire button is pressed, the user character P returns to thenormal state, shoots the liquid, and changes to the state where theshooting process is being performed. If the shooting process ends, andif the state change button is being pressed, the user character Pchanges to the special state. After the fire button is pressed, and ifthe state change button is pressed, the user character P ends the statewhere the shooting process is being performed (ends the shooting of theliquid in the middle), and changes to the special state. In the statewhere the fire button is pressed, if the state change button is pressedand then released, the user character P stops changing to the specialstate and shoots the liquid. That is, the button pressed last betweenthe fire button and the state change button is reflected on theprocessing. The processor 81 updates the area state data stored in theDRAM 85, thereby changing a specified area (an area in a predeterminedrange relating to the direction in which the liquid is shot) to thefirst state. Consequently, an area specified by the user in a terrainobject in the virtual space is changed to the first state.

In step S6, the processor 81 determines whether or not the liquidshooting process is being performed. If the determination is YES in stepS6, next, the process of step S5 is performed. If the determination isNO in step S6, next, the process of step S7 is performed.

In step S7, the processor 81 performs a movement process on the usercharacter P. Specifically, the processor 81 performs different processesdepending on whether or not the user character P is in the specialstate, whether or not the user character P is located on the first statearea 201, and whether or not the user character P is located on the wallsurface. The determination of whether or not the user character P islocated on the wall surface is made in accordance with the angle betweena surface on which the user character P is located and the XZ-plane inthe virtual space. If this angle is greater than or equal to apredetermined value (e.g., 60 degrees), it is determined that the usercharacter P is located on the wall surface. For example, in a case wherethe user character P is in the normal state, and if the user character Pis located on the first state area 201 or the initial state area 203 onthe ground (a surface at an angle less than a predetermined value to theXZ-plane), the processor 81 moves the user character P at the normalvelocity in a direction in the virtual space relating to a directionoperation input. In a case where the user character P is in the normalstate, and if the user character P is located on the second state area202 on the ground, the processor 81 moves the user character P at avelocity slower than the normal velocity in a direction relating to adirection operation input. In a case where the user character P is inthe special state, and if the user character P is located on the firststate area 201 on the ground or the wall surface, the processor 81 movesthe user character P at the first velocity in a direction in the virtualspace relating to a direction operation input.

In the movement process, when the user character P is moving in thefirst direction, and if a direction operation input for moving the usercharacter P in the second direction different from the first directionis provided, the processor 81 causes the user character P to changedirection to the second direction over a plurality of frame times. Aprocess related to the change of direction is performed regardless ofwhether the user character P is in the normal state, the special state,or the hidden state. For example, when the user character P is moving inthe right direction of the screen, and a direction operation input formoving the user character P in the left direction is provided using theanalog stick 32, a change of direction to the left direction is notimmediately made, and after the moving velocity in the right directionis decreased, the change of direction to the left direction is made (themovement in the left direction is started). For example, the processor81 adds a velocity vector relating to the latest direction operationinput to the current velocity vector of the user character P, therebycalculating the latest velocity vector of the user character P. Then,the processor 81 moves the user character P in the virtual space inaccordance with the calculated velocity vector. Consequently, when theuser character P is moving in the first direction, and if a directionoperation input for moving the user character P in the second directionis provided, the moving direction of the user character P changes fromthe first direction to the second direction over a plurality of frametimes. For example, if the difference between the first direction andthe second direction is relatively great, the time until the change ofdirection to the second direction is completed is long.

In the movement process, the user character PB is moved downward underthe influence of gravity. For example, if the user character P ispresent in the air, a downward gravitational acceleration acts, and theuser character P falls downward. In a case where the user character PBis present on the wall surface, the downward fall velocity is slowerthan in a case where the user character PB is present in the air.

In step S8, the processor 81 performs a jump process. The jump processin step S8 is a process for causing the user character P to perform thefirst jump action, the second jump action, and the third jump actiondescribed above in accordance with the pressing of the jump button. Thedetails of the jump process will be described below. After step S8, stepS9 is executed.

In step S9, the processor 81 performs a wall climbing process. The wallclimbing process in step S9 is a process for causing the user characterP to perform the preliminary action and the wall climbing actiondescribed above in accordance with the long-pressing of the jump button.The details of the wall climbing process will be described below. Afterstep S9, step S10 is executed.

In step S10, the processor 81 performs an image generation/outputprocess. Specifically, the processor 81 generates a game image based onthe virtual camera and outputs the game image to the display device.After step S10, step S11 is executed.

In step S11, the processor 81 determines whether or not the gameprocessing is to be ended. For example, if a predetermined time elapsessince the game has been started, or if the user gives an instruction toend the game, the processor 81 ends the game processing. If the resultof the determination is NO in step S11, the process of step S1 isperformed again.

In the game processing, in addition to these processes, variousprocesses such as the process of receiving data regarding anothercharacter from another apparatus, a process regarding the action ofanother character, a process when the user character P is attacked bythe enemy character EC, and a process when the user character P attacksthe enemy character EC are performed, but are not described here.

Jump Process

Next, the details of the jump process in step S8 are described. FIG. 30is a flow chart showing an example of the jump process in step S8.

In step S20, the processor 81 determines whether or not the usercharacter P is in the state where the user character P is jumping. Here,if the user character P is jumping by a first jump process in step S27,a second jump process in step S28, a third jump process in step S32 orS63, a normal jump process in step S29 or S54, or a fourth jump processin step S69 described below, the determination is YES. If thedetermination is NO in step S20, next, the process of step S21 isperformed. If the determination is YES in step S20, the processingtransitions to each jump process that is being executed (the first jumpprocess, the second jump process, the third jump process, the normaljump process, or the fourth jump process). Even if the user character Pis not in the state where the user character P is jumping by each jumpprocess, but if the user character P is present in the air, thedetermination is YES in step S20. In this case, the processing does nottransition to each jump process that is being executed (the first jumpprocess, the second jump process, the third jump process, the normaljump process, or the fourth jump process), and the jump process shown inFIG. 30 ends.

In step S21, based on the operation data, the processor 81 determineswhether or not the jump button (e.g., the B-button 54) is pressed. Ifthe determination is YES in step S21, next, the process of step S22 isperformed. If the determination is NO in step S21, the jump processshown in FIG. 30 ends.

In step S22, the processor 81 determines whether or not the usercharacter P is present on the wall surface. Specifically, the processor81 determines whether or not the angle between a surface on which theuser character P is located and the XZ-plane is greater than or equal toa predetermined value (e.g., 60 degrees). If the determination is NO instep S22, next, the process of step S23 is performed. If thedetermination is YES in step S22, next, the process of step S30 isperformed.

In step S23, the processor 81 determines whether or not the usercharacter P is in the hidden state. Specifically, the processor 81determines whether or not the user character P is in the special stateand located on the first state area 201. If the determination is YES instep S23, next, the process of step S24 is performed. If thedetermination is NO in step S23, next, the process of step S29 isperformed.

In step S24, the processor 81 executes a velocity conditiondetermination process. Specifically, the processor 81 determines whetheror not the maximum value of the moving velocity of the user character PBduring the predetermined period (the period from the current moment tothe time a predetermined number of frames before) exceeds the firstthreshold. If the maximum value of the moving velocity of the usercharacter PB during the predetermined period exceeds the firstthreshold, the velocity condition is satisfied. The DRAM 85 stores thevelocity vectors of the user character PB in a predetermined number offrames in the past. Based on these velocity vectors, it is determinedwhether or not the velocity condition is satisfied. After step S24, stepS25 is executed.

In step S25, the processor 81 executes a first direction conditiondetermination process. Here, based on the difference between the movingdirection of the user character PB during the predetermined period and adirection set by the latest direction operation input, the firstdirection condition determination process is performed. Specifically, ifthe angle between a direction indicated by a velocity vector having themaximum moving velocity during the predetermined period and thedirection set by the latest direction operation input is greater than orequal to the second threshold, the processor 81 determines that thefirst direction condition is satisfied. Here, “the direction set by thelatest direction operation input” is a direction in the virtual spaceset based on the input direction of the analog stick 32 included in thelatest operation data (the direction of the input vector) and iscalculated based on the latest input direction and the direction of theline of sight of the virtual camera. If the analog stick 32 continues tobe tilted in the same direction, the user character PB moves in “thedirection set by the latest direction operation input”. After step S25,steps S26 is executed.

In step S26, the processor 81 determines whether or not both the twoconditions (the velocity condition and the first direction condition)are satisfied. If at least either one of the two conditions is notsatisfied (step S26: NO), next, the process of step S27 is executed. Ifboth the two conditions are satisfied (step S26: YES), next, the processof step S28 is executed.

In step S27, the processor 81 performs the first jump process. The firstjump process is a process for causing the user character PB to performthe first jump action. If the first jump process is started inaccordance with the fact that the determination is NO in step S26, theuser character PB changes to the state where the user character PB isjumping by the first jump process. Then, the determination will be YESin the above step S20 in the next processing loop. Thus, the first jumpprocess is executed for a plurality of frame times (e.g., until the usercharacter PB falls to the ground or sticks to the wall surface). Here,if a direction operation input is provided with the pressing of the jumpbutton, the moving direction of the user character PB is calculated by amethod similar to that in the movement process in the above step S7, andthe jump action (a movement upward in the virtual space) is performed.If a direction operation input is not provided, only the jump action isperformed. While the user character PB is moving, and if the input tothe same direction continues, the processor 81 causes the user characterPB to jump in the moving direction. While the user character PB is notmoving, and if a direction operation input is not provided, theprocessor 81 causes the user character PB to jump in the up direction inthe virtual space. After step S27, the process shown in FIG. 30 ends.

In step S28, the processor 81 performs the second jump process. Thesecond jump process is a process for causing the user character PB toperform the second jump action. If the second jump process is started inaccordance with the fact that the determination is YES in step S26, theuser character PB changes to the state where the user character PB isjumping by the second jump process. Then, the determination will be YESin the above step S20 in the next processing loop. Thus, the second jumpprocess is executed for a plurality of frame times (e.g., until the usercharacter PB falls to the ground or sticks to the wall surface). Here,the user character PB is moving relatively fast in the first direction,and a direction operation input for moving the user character PB in thesecond direction is provided. In this case, the processor 81 moves theuser character PB in the second direction, which is a direction alongthe ground, and also causes the user character PB to jump in the updirection in the virtual space. Specifically, based on a directionoperation input included in the acquired operation data, the processor81 calculates an after-change-of-direction velocity vector and rewritesthe current velocity vector of the user character PB as the calculatedafter-change-of-direction velocity vector. The after-change-of-directionvelocity vector is calculated based on a vector in the second directionrelating to the direction operation input and a vector in the updirection relating to the pressing of the jump button. The magnitude ofthe after-change-of-direction velocity vector is the same as themagnitude of the current velocity vector of the user character PB (thevelocity vector before the change of direction). Consequently, the usercharacter PB immediately changes direction to the second direction andalso jumps. That is, unlike the first jump process, the user characterPB does not decrease the velocity in the first direction over aplurality of frame times and then move in the second direction, butimmediately (in one frame time) changes the moving direction to thesecond direction and also jumps. The magnitude of the moving velocityafter the change of direction is maintained at the magnitude of themoving velocity before the change of direction.

In a case where the second jump process is performed again by the timewhen a predetermined time elapses since the second jump process hasended, the moving velocity of the user character PB after the change ofdirection is decreased. Specifically, in a case where the second jumpprocess is executed after the predetermined time elapses since thesecond jump process has previously ended, a velocity vector having thesame magnitude as that of the current velocity vector of the usercharacter PB is calculated as an after-change-of-direction velocityvector. In a case where the second jump process is executed again withinthe predetermined time, a velocity vector having a value obtained bymultiplying the magnitude of the current velocity vector of the usercharacter PB by a predetermined attenuation rate is calculated as anafter-change-of-direction velocity vector.

In the second jump process in step S28, the processor 81 sets the usercharacter PB to the attack influence reduction state for a predeterminedtime (e.g., 10 to 20 frame times). While the user character P is set tothe attack influence reduction state, and if the user character Preturns to the normal state, the attack influence reduction state endsbefore the predetermined time elapses.

If, on the other hand, the user character P is not in the hidden state,in step S29, the processor 81 performs the normal jump process. Thenormal jump process in step S29 is executed if the user character P isin the normal state or if the user character P is in the special stateand is present on an area in the initial state or the second state. Ifthe normal jump process is started in accordance with the fact that thedetermination is NO in step S23, the user character PB changes to thestate where the user character PB is jumping by the normal jump process.Then, the determination will be YES in the above step S20 in the nextprocessing loop. Thus, the normal jump process is executed for aplurality of frame times (e.g., until the user character P falls to theground). Here, if the user character P is not moving, a jump action formoving the user character P upward in the virtual space is performed. Ifthe user character P is moving, a process related to a change ofdirection similar to the movement process in step S7 is performed, andthe jump action is performed.

If, on the other hand, the user character PB is present on the wallsurface, in step S30, the processor 81 performs a second directioncondition determination process. Here, it is determined whether or notthe user character PB is located on the wall surface, and a directionoperation input to a direction away from the wall surface is provided.Specifically, based on a normal vector of the wall surface on which theuser character PB is located, and an input vector of the analog stick32, it is determined whether or not the second direction condition issatisfied. More specifically, a two-dimensional normal vector iscalculated, and it is determined whether or not the angle between thecalculated two-dimensional normal vector and the input vector is lessthan or equal to a threshold (e.g., 60 degrees). After step S30, stepsS31 is executed.

In step S31, the processor 81 determines whether or not the seconddirection condition is satisfied. If the determination is YES in stepS31, next, the process of step S32 is performed. If the determination isNO in step S31, the process shown in FIG. 30 ends.

In step S32, the processor 81 performs the third jump process. If thethird jump process is started in accordance with the fact that thedetermination is YES in step S31, the user character PB changes to thestate where the user character PB is jumping by the third jump process.Then, the determination will be YES in the above step S20 in the nextprocessing loop. Thus, the third jump process is executed for aplurality of frame times (e.g., until the user character P falls to theground). Here, the processor 81 causes the user character PB to performthe third jump action. If the user character PB is moving in the firstdirection on the wall surface, the movement in the first direction isnot decelerated, and the user character PB immediately starts moving ina direction away from the wall surface object 210. In the third jumpprocess, the processor 81 sets the user character PB to the attackinfluence reduction state for a predetermined time (e.g., 10 to 20 frametimes). After step S32, the process shown in FIG. 30 ends.

Wall Climbing Process

Next, the details of the wall climbing process in step S9 are described.FIG. 31 is a flow chart showing an example of the wall climbing processin step S9.

In step S40, the processor 81 determines whether or not the usercharacter PB is present on the wall surface. If the determination is YESin step S40, next, the process of step S42 is performed. If thedetermination is NO in step S40, next, the process of step S41 isperformed.

In step S41, the processor 81 determines whether or not the usercharacter P is in the state where the user character P is jumping. Here,if the user character P is jumping by the first jump process in stepS27, the second jump process in step S28, the third jump process in stepS32 or S63, the normal jump process in step S29 or S54, or the fourthjump process in step S69, the determination is YES. If the determinationis NO in step S41, the wall climbing process shown in FIG. 31 ends. Ifthe determination is YES in step S41, the processing transitions to eachjump process that is being executed (the first jump process, the secondjump process, the third jump process, the normal jump process, or thefourth jump process). Even if the user character P is not in the statewhere the user character P is jumping by each jump process, but if theuser character P is present in the air, the determination is NO in stepS41.

In step S42, the processor 81 determines whether or not the usercharacter PB is performing the wall climbing action. Specifically, theprocessor 81 determines whether or not a during-wall-climbing flagdescribed below is ON. If the determination is NO in step S42, next, theprocess of step S43 is performed. If the determination is YES in stepS42, next, the process of step S51 is performed.

In step S43, the processor 81 determines whether or not the jump buttonis pressed. If the determination is YES in step S43, next, the processof step S44 is performed. If the determination is NO in step S43, next,the process of step S46 is performed.

In step S44, the processor 81 determines whether or not the jump buttonis being long-pressed. Specifically, the processor 81 determines whetheror not a predetermined time elapses since the pressing of the jumpbutton has been started. If the determination is YES in step S44, next,the process of step S45 is performed. If the determination is NO in stepS44, next, the process of step S46 is performed.

In step S45, the processor 81 sets a long-press flag to ON. Thelong-press flag is set to ON when the jump button is being long-pressed,and is set to OFF when the jump button is not being long-pressed. Afterstep S45, next, the process of step S46 is performed.

In step S46, the processor 81 determines whether or not the long-pressflag is ON. If the determination is YES in step S46, next, the processof step S47 is performed. If the determination is NO in step S46, next,the process of step S53 is performed.

In step S47, the processor 81 causes the user character PB to performthe preliminary action. Consequently, the user character PB changes to apreliminary action form. During the preliminary action, the visibilityof the user character PB becomes high on the display device of the userrelating to the user character PB, and the visibility of the usercharacter PB becomes high also on the display device of a user of theuser's team and the display device of an opponent user. After step S47,next, the process of step S48 is performed.

In step S48, the processor 81 determines whether or not a predeterminedtime (e.g., 30 to 60 frame times) elapses since the preliminary actionhas been started. If the determination is YES in step S48, next, theprocess of step S49 is performed. If the determination is NO in stepS48, next, the process of step S50 is performed.

In step S49, the processor 81 performs the charge completionrepresentation. For example, an effect image indicating that charging iscompleted is displayed, or a sound effect is output. The chargecompletion representation may be performed only once at the time whenthe predetermined time elapses since the preliminary action has beenstarted, or may be continuously performed during the long-pressing ofthe jump button after the predetermined time elapses. After step S49,next, the process of step S50 is performed.

In step S50, the processor 81 determines whether or not the jump buttonis released. If the jump button is released, the determination of theprocessor 81 is YES in step S50. If the determination is YES in stepS50, the processor 81 sets the long-press flag to OFF and next executesthe process of step S51. If the determination is NO in step S50, next,the process of step S52 is performed.

In step S51, the processor 81 performs a during-wall-climbing process.The process of step S51 is a process for causing the user character PBto perform the wall climbing action. In the during-wall-climbingprocess, while a direction operation input to the up direction is beingprovided, the user character PB moves in the up direction on the wallsurface. The details of the during-wall-climbing process in step S51will be described below. After step S51, the wall climbing process shownin FIG. 31 ends.

In step S52, the processor 81 performs a movement restriction process.Here, the movement of the user character PB is restricted during thepreliminary action. For example, if a direction operation input isprovided using the analog stick 32, and when the preliminary action isbeing performed, the moving velocity of the user character PB is slowerthan when the preliminary action is not being performed. Consequently,even during the preliminary action, it is possible to adjust theposition of the user character PB on the wall surface. During thepreliminary action, the moving velocity of the user character PB is madeslow, whereby it is possible to facilitate the adjustment of theposition. If the preliminary action is not being performed, and adirection operation input is not provided, the user character PBautomatically moves downward in the virtual space under the influence ofgravity. During the preliminary action, however, the downward movementdue to gravity is also restricted.

Specifically, in accordance with the time elapsed since the preliminaryaction has been started, the moving velocity of the user character PBwhen a direction operation input is provided becomes slow. After thecharge completion representation is performed, the moving velocity ofthe user character PB is at a minimum. Even if the charge completionrepresentation is performed, but if a direction operation input isprovided, the position of the user character PB is adjusted. Inaccordance with the time elapsed since the preliminary action has beenstarted, the fall velocity due to gravity becomes slow. After the chargecompletion representation is performed, the user character PB does notfall due to gravity, and remains at the current position on the wallsurface. After the charge completion representation is performed, andeven if a direction operation input is provided, the user character PBmay not move on the wall surface. After the charge completionrepresentation is performed, the user character PB may slightly movedownward under the influence of gravity. After step S52, the wallclimbing process shown in FIG. 31 ends.

If, on the other hand, the long-press flag is OFF, in step S53, theprocessor 81 determines whether or not the jump button is released. Ifthe jump button is released, the determination of the processor 81 isYES in step S53. If the determination is YES in step S53, next, theprocess of step S54 is performed. If the determination is NO in stepS53, the wall climbing process shown in FIG. 31 ends.

In step S54, the processor 81 performs the normal jump process on thewall surface. If the normal jump process on the wall surface is startedin accordance with the fact that the determination is YES in step S53,the user character PB changes to the state where the user character PBis jumping by the normal jump process on the wall surface. Then, thedetermination will be YES in the above step S41 in the next processingloop. Thus, the normal jump process on the wall surface is executed fora plurality of frame times. Consequently, the state where the usercharacter PB jumps on the wall surface is displayed. Specifically, theuser character PB moves upward by a predetermined distance along thewall surface or temporarily at a distance from the wall surface. Theprocess of step S54 is executed if the jump button is pressed andreleased in a short time when the user character PB is present on thewall surface. That is, if the jump button is released before thelong-pressing of the jump button is detected, the process of step S54 isexecuted, and the user character PB jumps along the wall surface ortemporarily at a distance from the wall surface. In a case where theuser character PB is present at the boundary between the first statearea 201 and another area, and if the process of step S54 is performed,the user character PB may jump beyond the boundary. The height of thejump, however, is lower than the height at which the user character PBjumps beyond the boundary in the during-wall-climbing process in stepS51. When the user character PB is present on the wall surface, and ifthe jump button is pressed, and if the second direction condition issatisfied, the third jump process is performed. If, however, the seconddirection condition is not satisfied, the normal jump process on thewall surface is performed in step S54. In the third jump process, asdescribed above, the user character PB immediately jumps in a directionaway from the wall surface. In the normal jump process on the wallsurface in step S54, however, the user character PB jumps along the wallsurface while sticking to the wall surface or temporarily at a distancefrom the wall surface, and returns onto the wall surface again. In stepS54, if a direction operation input involving a change of direction isprovided with the pressing of the jump button, similarly to the abovestep S7, a process related to a change of direction is performed. Thatis, when the user character PB is moving in the first direction, and ifa direction operation input for moving the user character PB in thesecond direction is provided, and if the second direction condition isnot satisfied, the process of step S54 is performed. Then, the usercharacter PB changes direction to the second direction over one or moreframe times. After step S54, the wall climbing process shown in FIG. 31ends.

During-Wall-Climbing Process

Next, the details of the during-wall-climbing process in step S51 inFIG. 31 are described. FIG. 32 is a flow chart showing an example of theduring-wall-climbing process in step S51.

In step S61, the processor 81 determines whether or not aduring-wall-climbing flag is ON. The during-wall-climbing flag is a flagthat is set to ON in step S64 described below. The during-wall-climbingflag is set to OFF at default. If the determination is NO in step S61,next, the process of step S62 is performed. If the determination is YESin step S61, next, the process of step S65 is performed.

In step S62, the processor 81 determines whether or not the seconddirection condition is satisfied. Here, a determination similar to thatin the above step S31 is made. That is, it is determined whether or nota direction operation input to a direction away from the wall surface isprovided when the user character PB is located on the wall surface. Ifthe determination is YES in step S62, next, the process of step S63 isperformed. If the determination is NO in step S62, next, the process ofstep S64 is performed.

In step S63, the processor 81 performs the third jump process. Here, aprocess similar to that of the above step S32 is performed. After stepS63, the during-wall-climbing process shown in FIG. 32 ends. If thethird jump process is started in accordance with the fact that thedetermination is YES in step S62, the user character PB changes to thestate where the user character PB is jumping by the third jump process.Then, the determination will be YES in the above step S20 in the nextprocessing loop. Thus, the third jump process is executed for aplurality of frame times (e.g., until the user character P falls to theground).

In step S64, the processor 81 sets the during-wall-climbing flag to ON.After step S64, next, the process of step S65 is performed.

The processes of the above steps S62 to S64 are executed only once whenthe long-pressing of the jump button is released. When the long-pressingof the jump button is released, and if a direction operation inputsatisfying the second direction condition is provided (step S62: YES),the third jump process is performed. Consequently, the user character PBjumps in a direction away from the wall surface, and the processes ofstep S65 and the subsequent steps are not performed. On the other hand,when the long-pressing of the jump button is released, and if the seconddirection condition is not satisfied (step S62: NO), theduring-wall-climbing flag is set to ON (step S64), and the processes ofstep S65 and the subsequent steps are performed. While theduring-wall-climbing flag is set to ON, the processes of step S65 andthe subsequent steps are repeatedly performed.

In step S65, the processor 81 determines whether or not a directionoperation input to the up direction is provided using the analog stick32. Specifically, the processor 81 determines whether or not a component(a y-component) in the up direction of an input vector of the analogstick 32 has a positive value. If the determination is YES in step S65,next, the process of step S66 is performed. If the determination is NOin step S65, next, the process of step S71 is performed.

In step S66, the processor 81 sets the moving velocity of the usercharacter PB in accordance with the continuation time of the preliminaryaction. Specifically, the processor 81 sets the moving velocity suchthat the longer the continuation time of the preliminary action (thetime in which the long-pressing of the jump button continues) is, thefaster the moving velocity is. After the charge completionrepresentation is performed, the second velocity, which is the maximumvelocity, is set. Since a velocity relating to the continuation time ofthe preliminary action before the jump button is released is set, themoving velocity of the user character PB is maintained while the inputto the up direction continues. After step S66, next, the process of stepS67 is performed.

In step S67, the processor 81 moves the user character PB at thevelocity set in step S66. Consequently, if the user character PB has notyet started moving on the wall surface, the user character PB startsmoving. If the user character PB has already started moving on the wallsurface, the user character PB continuously moves. The moving directionof the user character PB is set to a direction relating to the inputdirection of the analog stick 32. For example, if the charge completionrepresentation is performed, the user character PB moves at the secondvelocity. If the charge completion representation is not performed, theuser character PB moves at the velocity relating to the continuationtime of the preliminary action. If the input direction of the analogstick 32 changes, in step S67, the moving direction of the usercharacter PB also changes. Consequently, during the wall climbingaction, it is possible to change the moving direction of the usercharacter PB. After step S67, next, the process of step S68 isperformed.

In step S68, the processor 81 determines whether or not the usercharacter PB reaches the boundary between the first state area 201 onthe wall surface and another area. For example, if the user character PBreaches the boundary between the first state area 201 on the wallsurface and the second state area 202 on the wall surface, thedetermination is YES in step S68. If the user character PB reaches theboundary between the first state area 201 on the wall surface and theinitial state area 203 on the wall surface, the determination is YES instep S68. Also if the user character PB reaches an end of the wallsurface (the boundary between the wall surface and a surface other thanthe wall surface (e.g., the upper surface 220 in FIG. 26 )), thedetermination is YES in step S68. If the determination is YES in stepS68, next, the process of step S69 is performed. If the determination isNO in step S68, the during-wall-climbing process shown in FIG. 32 ends.

In step S69, the processor 81 performs the fourth jump process forcausing the user character PB to perform the fourth jump action. Forexample, if the above charge completion representation is performed, theuser character PB swiftly jumps from the boundary of the first statearea 201. The initial velocity at this time is the second velocity,which is the maximum velocity. The direction of the jump at this time isthe direction relating to the input direction of the analog stick 32. Ifthe fourth jump action is performed, the user character PB is set to theattack influence reduction state for a predetermined time (e.g., 40 to50 frame times). In a case where the long-pressing of the jump button isreleased before the above charge completion representation is performed,and if the user character PB reaches the boundary, the user character PBjumps from the boundary (the fourth jump action) and is also set to theattack influence reduction state. In this case, the user character Ponly jumps to a position lower than the highest point when the chargecompletion representation is performed. If a velocity relating to thetime of the preliminary action is less than a predetermined value, theuser character PB may not jump from the boundary. In this case, the usercharacter PB may not be set to the attack influence reduction state.After step S69, next, the process of step S70 is performed.

In step S70, the processor 81 sets the during-wall-climbing flag to OFF.After step S70, the during-wall-climbing process shown in FIG. 32 ends.

If, on the other hand, the input of the up direction ends, in step S71,the processor 81 determines whether or not the user character PB hasalready started moving on the wall surface. Here, after theduring-wall-climbing flag is ON, the process of step S67 is performed,whereby it is determined whether or not the user character PB is alreadymoving on the wall surface. If the determination is YES in step S71,next, the process of step S72 is performed. If the determination is NOin step S71, the during-wall-climbing process shown in FIG. 32 ends.

In step S72, the processor 81 performs a stop process for stopping thewall climbing action of the user character PB. Consequently, the usercharacter PB is decelerated and is stopped after the lapse of apredetermined time. After step S72, next, the process of step S73 isperformed.

In step S73, the processor 81 sets the during-wall-climbing flag to OFF.After step S73, the during-wall-climbing process shown in FIG. 32 ends.In a case where the jump button is pressed during the wall climbingaction, and if a direction operation input satisfying the seconddirection condition is provided, the determination is NO in step S65. Inthis case, in step S72, the third jump process is performed, and theuser character PB performs the third jump action in a direction awayfrom the wall.

The above processing is merely illustrative, and for example, thethresholds for the determinations used in the steps may be changed, orthe order of the steps may be changed. Further, another step may beadded to the above steps, or some of the above steps may be omitted.

As described above, when the user character PB is in the hidden state onthe ground, and if the jump button is pressed (step S23: YES), and ifthe velocity condition and the first direction condition are satisfied,the second jump process is performed (step S28). If at least either oneof the velocity condition and the first direction condition is notsatisfied, the first jump process is performed (step S27). The velocitycondition is likely to be satisfied in a case where the user characterPB is moving at a fast velocity during a predetermined periodimmediately before the jump button is pressed. Specifically, thevelocity condition is satisfied in a case where the user character PB ismoving at a velocity faster than the first threshold. The firstdirection condition is likely to be satisfied when the user character PBis moving in the first direction, and in a case where a directionoperation input for moving the user character PB in the second directionis provided, and if the difference between the first direction and thesecond direction is great. Specifically, the first direction conditionis satisfied in a case where the difference between the first directionand the second direction is greater than the second threshold. In a casewhere the second jump process is performed, the user character PBcompletes a change of direction to the second direction faster than in acase where the first jump process is performed, and also jumps. In acase where the second jump process is performed, the moving velocity ofthe user character PB after the change of direction is relatively fasterthan in a case where the first jump process is performed.

As described above, in the exemplary embodiment, when the user characterPB is moving at a fast velocity, it is possible to cause the usercharacter PB to quickly change direction by the second jump action.Consequently, it is possible to improve the operability of the usercharacter PB. In a case where the user character PB is moving at highspeed and involves a great change of direction, the second jump actionis performed. Thus, it is possible to urge the positive movement of theuser character PB in the hidden state. For example, it is possible tomove the user character PB at high speed toward the enemy character andalso make it easy to avoid the attack of the enemy character. Then, theuser character is caused to perform a wide variety of motions, wherebyit is possible to improve the interest of the game. When the usercharacter PB changes to the exposed state by a jump, the second jumpaction is performed. Thus, it is possible to prevent the user characterPB from becoming too advantageous and maintain and improve the interestof the game.

In the exemplary embodiment, if the second jump action is performed, theuser character PB changes to the attack influence reduction state. Inthe attack influence reduction state, the disadvantageous influence whenthe user character PB is attacked by the enemy character EC is reduced.Consequently, it is possible to motivate the user to perform the secondjump action. The attack influence reduction state continues only for ashort time in a case where the second jump action is performed. Thus, itis possible to prevent the user character PB from becoming tooadvantageous.

In the exemplary embodiment, in a case where the second jump action isperformed in succession within a predetermined time, the moving velocityof the user character PB after the change of direction is slower than ina case where the second jump action is not performed in succession. Thatis, if the second jump action is performed, the user character PB movesat a certain velocity after the change of direction. Then, if the secondjump action is performed again within the predetermined time, the usercharacter PB moves at a velocity slower than the certain velocity afterthe change of direction. Consequently, it is possible to prevent theuser character PB from becoming too advantageous.

In the exemplary embodiment, when the user character PB is present onthe wall surface, and if the jump button is pressed (if the jump buttonis short-pressed) (step S22: YES), and if the second direction conditionis satisfied, the third jump process for causing the user character PBto jump in a direction away from the wall surface is performed (stepS32). In the third jump process, even if the user character PB is movingin the first direction, the user character PB immediately changesdirection and jumps in a direction away from the wall surface.Consequently, even when the user character PB is present on the wallsurface, it is possible to cause the user character PB to quickly jumpin a direction away from the wall surface. Thus, for example, it ispossible to make it easy to avoid the attack of the enemy character.

In the exemplary embodiment, even if the difference between the firstdirection and the second direction is 90 degrees, the first directioncondition is satisfied, and the second jump process is performed. Thatis, even if a direction operation input to a direction in which the usercharacter PB advances in a direction immediately lateral to the movingdirection is provided with an input to the jump button, the second jumpprocess is performed. Consequently, it is possible to immediately changedirection to an immediately lateral direction.

The faster the moving velocity of the user character PB during apredetermined period immediately before the jump button is pressed is,the smaller the difference between the first direction and the seconddirection for satisfying the first direction condition may be.

In the exemplary embodiment, when the user character PB is present onthe wall surface, and if the jump button is long-pressed, thepreliminary action is performed during the long-press (step S47). Then,in accordance with the release of the jump button, the wall climbingaction is performed (step S51). During the wall climbing action, whilethe input to the up direction continues, the user character PB continuesto move at a velocity relating to the continuation time of thepreliminary action on the wall surface (steps S66 and S67). If thepreliminary action is performed for a predetermined time, and when theuser character PB reaches the boundary of the first state area 201 onthe wall surface, the user character PB performs the fourth jump actionfrom the boundary (step S69).

Consequently, it is possible to cause the user character PB to largelyjump beyond the boundary of the first state area 201 on the wallsurface. It is possible to diversify the movement of the user characteron the wall surface and improve the interest of the game.

In the exemplary embodiment, while the user character PB is performingthe preliminary action, and if a direction operation input is provided,the position of the user character PB on the wall surface is adjusted inaccordance with the direction operation input (step S52). Specifically,in accordance with the time elapsed since the preliminary action hasbeen started, the moving velocity of the user character PB when thedirection operation input is provided becomes slow. Consequently, it ispossible to adjust the start position of the wall climbing action.During the preliminary action, the moving velocity of the user characterPB becomes slow. Thus, it is possible to make it easy for the user toadjust the position of the user character PB.

In the exemplary embodiment, after the long-pressing of the jump buttonends, and while the direction operation input to the up directioncontinues, the user character PB continues to move on the first statearea 201 on the wall surface (step S67). If the direction operationinput to the up direction ends, the movement also ends (step S71). Whilethe direction operation input to the up direction continues, the movingvelocity of the user character PB is maintained (step S66).Consequently, after the wall climbing action starts, it is possible tocontinue or end the wall climbing action. The direction operation inputto the up direction is continued, whereby it is possible to maintain themoving velocity of the user character PB to the boundary of the firststate area 201 and cause the user character PB to jump from the boundarywhile maintaining the velocity. Consequently, it is possible to causethe user character PB to jump from the boundary.

In the exemplary embodiment, in accordance with a direction operationinput, the moving direction of the user character PB is changed duringthe wall climbing action (step S67). If the direction operation inputsatisfies a predetermined condition, the movement of the user characterPB is stopped (step S72). Specifically, if the input to the up directionceases to be provided (step S65: NO), the movement of the user characterPB by the wall climbing action is stopped. Consequently, during the wallclimbing action, in accordance with a direction operation input, it ispossible to change or stop the moving direction of the user characterPB.

In the exemplary embodiment, when the user character PB is moved on thefirst state area 201 in accordance with a direction operation input, theuser character PB is displayed in a first display form of which thevisibility is low. While the user character PB is caused to perform thepreliminary action, the user character PB is displayed in a seconddisplay form (a preliminary action form) of which the visibility ishigher than that in the first display form. Thus, during the preliminaryaction, the user character PB is easy for another user to visuallyconfirm and is likely to be attacked by the opponent. Consequently, itis possible to prevent the user from becoming too advantageous over theopponent by the wall climbing action and maintain the balance of thegame.

In the exemplary embodiment, the height of the jump of the usercharacter PB differs in accordance with the time of the preliminaryaction. Specifically, in accordance with the time of the preliminaryaction, the moving velocity of the user character PB during the wallclimbing action becomes fast, and the velocity of the user character PBwhen the user character PB reaches the boundary of the first state area201 becomes fast. Thus, as a result, the longer the time of thepreliminary action is, the higher the height of the jump of the usercharacter PB beyond the boundary is. Consequently, the longer thepreliminary action is, the higher the user character PB can be caused tojump.

In the exemplary embodiment, in a case where the user character PB ispresent on the wall surface, and if a direction operation input is notprovided, the user character PB automatically moves downward in thevirtual space due to gravity. In a case where the preliminary action isperformed, this automatic downward movement is restricted (step S52).Consequently, during the preliminary action, it is possible to maintainthe position of the user character PB on the wall surface and improveconvenience.

In the exemplary embodiment, if the user character PB reaches theboundary of the first state area 201 by the wall climbing action and thefourth jump action is performed, the user character PB changes to theattack influence reduction state (step S69). In the attack influencereduction state, the disadvantageous influence when the user characterPB is attacked by the enemy character EC is reduced. Consequently, it ispossible to motivate the user to perform the wall climbing action. Theattack influence reduction state continues only for a short time in acase where the fourth jump action is performed. Thus, it is possible toprevent the user character PB from becoming too advantageous.

In the exemplary embodiment, during the preliminary action, if the jumpbutton is released and a direction operation input satisfying the seconddirection condition is provided, the third jump action is performed(step S63). During the wall climbing action, also if the jump button ispressed and a direction operation input satisfying the second directioncondition is provided, the third jump action is performed. Consequently,even during the preliminary action or during the wall climbing action,if a predetermined operation input is provided, it is possible to causethe user character PB to jump in a direction away from the wall surface.

In the exemplary embodiment, the moving velocity of the user characterPB when the user character PB moves on the wall surface by the wallclimbing action can be made faster than the moving velocity of the usercharacter PB when the user character PB moves on the wall surface inaccordance with a direction operation input. Consequently, it ispossible to promote the movement by the wall climbing action. Thus, itis possible to vary the movement of the user character PB on the wallsurface and improve the interest of the game.

In the exemplary embodiment, if the user character PB moves on the wallsurface in accordance with a direction operation input, the usercharacter PB does not move beyond the first state area 201 on the wallsurface. If the user character PB moves on the wall surface by the wallclimbing action, the user character PB jumps beyond the first state area201 on the wall surface. Consequently, it is possible to vary themovement of the user character PB on the wall surface.

Variations

While the exemplary embodiment has been described above, the exemplaryembodiment is not limited to the above, and may be modified as follows.

For example, in the above exemplary embodiment, in a case where thesecond jump action is performed, the user character is caused toimmediately change direction, and the velocity after the change ofdirection is made relatively fast. In a case where the first jump actionis performed, the user character is caused to change direction over apredetermined time, and the velocity after the change of direction ismade relatively slow. Consequently, in a case where the second jumpaction is performed, the user character is caused to change directionmore quickly than in a case where the first jump action is performed,and is also caused to jump. In another exemplary embodiment, forexample, in a case where the first jump action is performed, the jumpaction may be performed with a change of direction for a first time. Ina case where the second jump action is performed, the jump action may beperformed with a change of direction for a second time shorter than thefirst time. As described above, in a case where the second jump actionis performed, the time until a change of direction is made may beshorter than in a case where the first jump action is performed. Forexample, in a case where the first jump action is performed, the initialvelocity of the user character after a change of direction may be afirst velocity. In a case where the second jump action is performed, theinitial velocity of the user character after a change of direction maybe a second velocity faster than the first velocity. In a case where thefirst jump action is performed, after a change of direction, the usercharacter may be accelerated at a first acceleration. In a case wherethe second jump action is performed, after a change of direction, theuser character may be accelerated at a second acceleration greater thanthe first acceleration. As described above, in a case where the secondjump action is performed, the moving velocity of the user characterafter a change of direction may be faster than in a case where the firstjump action is performed.

In the above exemplary embodiment, in a case where an input to the jumpbutton is provided, based on a direction operation input in the pastbefore the time of the input and a direction operation input at the timeof the input, it is determined whether or not the first directioncondition is satisfied. In another exemplary embodiment, in a case wherean input to the jump button is provided, based on a direction operationinput in the past before the time of the input and a direction operationinput after the time of the input, it may be determined whether or notthe first direction condition is satisfied. In a case where an input tothe jump button is provided, based on a direction operation input at thetime of the input and a direction operation input after the time of theinput, it may be determined whether or not the first direction conditionis satisfied. That is, after an input to the jump button is provided, itmay be determined whether or not a direction operation input to adirection different from the moving direction is provided. Then, if theresult of the determination is affirmative, the second jump action maybe performed.

In the above exemplary embodiment, based on the moving velocity and themoving direction of the user character during a predetermined period inthe past from the time when an input to the jump button is provided, itis determined whether or not the second jump action is to be performed.The predetermined period may be one frame time at the time when theinput to the jump button is provided.

In the above exemplary embodiment, it is determined whether or not aninput to the jump button is provided. Then, if an input to the jumpbutton is provided, it is determined whether or not the velocitycondition is satisfied, and based on a direction operation input at thetime of the input, it is also determined whether or not the firstdirection condition is satisfied. In another exemplary embodiment, theorder of these determinations may be appropriately changed. For example,it may be determined whether or not a direction operation inputsatisfying the first direction condition is provided. Then, if theresult of the determination is affirmative, it may be determined whetheror not an input to the jump button is provided and whether or not thevelocity condition is satisfied.

In the above exemplary embodiment, if the user character P is present onthe ground (a surface parallel to or at an angle less than apredetermined angle to the XZ-plane), the second jump action isperformed. If the user character P is present on the wall surface, thethird jump action is performed. No matter which of the jump actions isperformed, the moving velocity of the user character P after a change ofdirection is maintained at the moving velocity before the change ofdirection. In another exemplary embodiment, the moving velocity of theuser character P after a change of direction may be constant withoutdepending on the moving velocity before the change of direction. In thiscase, only in a case where the user character P is present on the wallsurface, the moving velocity after the change of direction may beconstant. The constant velocity may be the same as the second velocity,or may be faster than the second velocity, or may be slower than thesecond velocity. If, on the other hand, the user character P is presenton the ground, the moving velocity of the user character P after achange of direction may depend on the moving velocity before the changeof direction.

In the above exemplary embodiment, in the virtual space, the groundobject 200 and the upper surface 220 parallel to the XZ-plane arepresent, and the wall surface object 210 perpendicular to the XZ-planeis present. In another exemplary embodiment, in addition to theseobjects, the surfaces of various terrain objects may be placed, and eachof the surfaces of the terrain objects may be changed to the first stateor the second state by an operation input provided by the user. On aterrain object, a wall surface at an angle greater than or equal to apredetermined value (e.g., 60 degrees) to the XZ-plane may be placed,and the user character may perform the wall climbing action on the wallsurface.

In the above exemplary embodiment, after the long-pressing of the jumpbutton is released, and while a direction operation input to the updirection continues, the wall climbing action continues. In anotherexemplary embodiment, the wall climbing action may be started inaccordance with the release of the long-pressing of the jump button, andeven if a direction operation input is not provided, the user charactermay move to the boundary of the first state area 201 on the wallsurface.

In the above exemplary embodiment, during the wall climbing action, avelocity relating to the time of the preliminary action is maintained.In another exemplary embodiment, the moving velocity during the wallclimbing action may change. For example, the user character may beaccelerated during the wall climbing action. In this case, the longerthe time of the preliminary action is, the greater the accelerationduring the wall climbing action may be.

In the above exemplary embodiment, the user character PB hides inliquid, thereby changing to the hidden state. The user character PBjumps, thereby changing to the exposed state. The state of the usercharacter is not limited to these, and the user character may change toa hidden state and a non-hidden state. The hidden state may not belimited to the state where the user character is hidden in liquid solong as the user character is difficult for another user to visuallyconfirm.

In the above exemplary embodiment, while a predetermined operation inputcontinues, the user character is set to the special state. In anotherexemplary embodiment, even if a predetermined operation input is notcontinued, the user character may be set to the special state. Forexample, in a case where the user character is located on the firststate area 201, the user character may be set to the special state.

In the above exemplary embodiment, if the second jump process and thethird jump process are performed, a change of direction is immediatelycompleted, and the user character changes to the attack influencereduction state. That is, while the user character is moving in thefirst direction, and if a direction operation input for making a changeof direction to the second direction is provided with the pressing ofthe jump button, the velocity is not decreased in the first directionfor a certain time, but is immediately changed to “0”, and the usercharacter is moved in the second direction. In another exemplaryembodiment, if the second jump process and/or the third jump process areperformed, the velocity may be decreased in the first direction for acertain time, and the user character may be set to the attack influencereduction state. That is, in another exemplary embodiment, if the secondjump process is performed, a change of direction may not be immediatelymade, and the user character may be set to the attack influencereduction state. If the first jump process is performed, a change ofdirection may not be immediately made, and the user character may not beset to the attack influence reduction state.

The processes in the above flow charts are merely illustrative. Forexample, a part of the jump process may be executed in the wall climbingprocess. A part of the wall climbing process may be executed in the jumpprocess. For example, a process on the wall surface and a process on theground may be divided, the processing may branch into the third jumpprocess in the process on the wall surface, and may branch into thesecond jump process in the process on the ground. As described above,the jump process shown in FIG. 30 and the wall climbing process shown inFIG. 31 may be dispersed into several processes.

In the above exemplary embodiment, a multiplay game is performed by aplurality of users. In another exemplary embodiment, a game may beperformed by a single user. In this case, an enemy character iscontrolled by a CPU. The above game is merely illustrative, and thecontrol of the above characters may be applied to another game otherthan the exemplified game.

The above game program may be executed by any other informationprocessing apparatus (e.g., a smartphone, a tablet terminal, a personalcomputer, a server, or the like). The game program may be executed by aninformation processing system including a plurality of apparatuses. Theabove processes may be dispersedly executed by the plurality ofapparatuses.

The configurations of the above exemplary embodiment and its variationscan be optionally combined together unless they contradict each other.Further, the above description is merely an example of the exemplaryembodiment, and may be improved and modified in various manners.

While certain example systems, methods, devices and apparatuses havebeen described herein, it is to be understood that the appended claimsare not to be limited to the systems, methods, devices and apparatusesdisclosed, but on the contrary, are intended to cover variousmodifications and equivalent arrangements included within the spirit andscope of the appended claims.

What is claimed is:
 1. A non-transitory computer-readable storage mediumhaving stored therein instructions that, when executed, cause a computerto execute game processing regarding a game performed in athree-dimensional virtual space including at least a terrain object, thegame processing comprising: in accordance with a first operation inputprovided by a user, changing a specified area in the terrain object to afirst state; based on a direction operation input provided by the user,performing a first movement process for moving a user character on anarea in the first state in a wall surface as the terrain object; in acase where the user character is present on the wall surface in thefirst state, and while a second operation input provided by the usercontinues, causing the user character to perform a preliminary action;under the condition that at least the second operation input ends,performing a second movement process for moving the user characterperforming the preliminary action on the wall surface in the first statein a predetermined direction including at least a component in an updirection; performing a game event having disadvantageous influence inthe game on the user character; and if the user character reaches aboundary between the wall surface in the first state and an area in thevirtual space that is different from the wall surface in the first statedue to the movement by the second movement process, reducing thedisadvantageous influence by the game event.
 2. The non-transitorycomputer-readable storage medium according to claim 1, wherein the gameprocessing further comprises: if the direction operation input isprovided while the user character is caused to perform the preliminaryaction, adjusting a position of the user character on the wall surfacein the first state in accordance with the direction operation input. 3.The non-transitory computer-readable storage medium according to claim2, wherein a moving velocity of the user character based on theadjustment is slower than the moving velocity of the user characterbased on the first movement process.
 4. The non-transitorycomputer-readable storage medium according to claim 1, wherein in thesecond movement process, after the second operation input ends, andwhile the direction operation input continues, the user character ismoved on the wall surface in the first state.
 5. The non-transitorycomputer-readable storage medium according to claim 1, wherein in thesecond movement process, a moving direction of the user character ischanged in accordance with the direction operation input, and if thedirection operation input satisfies a predetermined condition, themovement of the user character is stopped.
 6. The non-transitorycomputer-readable storage medium according to claim 1, wherein in thefirst movement process, the user character is moved in a first displayform, and while the user character is caused to perform the preliminaryaction, the user character is displayed in a second display form havinga visibility higher than a visibility of the first display form.
 7. Thenon-transitory computer-readable storage medium according to claim 1,wherein the game processing further comprises: as a result of the secondmovement process, if the user character reaches the boundary, causingthe user character to jump from the boundary a height of the jump of theuser character differs in accordance with time of the preliminaryaction.
 8. The non-transitory computer-readable storage medium accordingto claim 1, wherein a moving velocity of the user character based on thesecond movement process differs in accordance with time of thepreliminary action.
 9. The non-transitory computer-readable storagemedium according to claim 8, wherein in the second movement process,after the second operation input ends, and while the direction operationinput continues, the moving velocity of the user character relating tothe time of the preliminary action is maintained.
 10. The non-transitorycomputer-readable storage medium according to claim 1, wherein the gameprocessing further comprises: in a case where the user character ispresent on the wall surface in the first state, and if the directionoperation input is not provided, performing a third movement process forautomatically moving the user character in a down direction in thevirtual space; and if the user character is caused to perform thepreliminary action, reducing the movement by the third movement process.11. The non-transitory computer-readable storage medium according toclaim 1, wherein the game processing further comprises: if a thirdoperation input is provided by the user while the user character iscaused to perform the preliminary action or during the movement by thesecond movement process, causing the user character to jump in adirection away from the wall surface.
 12. The non-transitorycomputer-readable storage medium according to claim 1, wherein a movingvelocity of the user character is faster in the movement by the secondmovement process than in the movement by the first movement process. 13.The non-transitory computer-readable storage medium according to claim1, wherein if the user character reaches the boundary due to themovement by the second movement process, the user character performs thejump beyond the boundary, and if the user character reaches the boundarydue to the movement by the first movement process, and even if the usercharacter jumps beyond the boundary, a height of the jump is lower thana height of the jump due to the movement by the second movement process.14. The non-transitory computer-readable storage medium according toclaim 1, wherein the game event is an attack of an enemy character inthe virtual space.
 15. An information processing apparatus comprising: aprocessor and a memory storing executable instructions that, whenexecuted, cause the processor to execute game processing comprising:executing game processing regarding a game performed in athree-dimensional virtual space including at least a terrain object; inaccordance with a first operation input provided by a user, changing aspecified area in the terrain object to a first state; based on adirection operation input provided by the user, performing a firstmovement process for moving a user character on an area in the firststate in a wall surface as the terrain object; in a case where the usercharacter is present on the wall surface in the first state, and while asecond operation input provided by the user continues, causing the usercharacter to perform a preliminary action; under the condition that atleast the second operation input ends, performing a second movementprocess for moving the user character performing the preliminary actionon the wall surface in the first state in a predetermined directionincluding at least a component in an up direction; performing a gameevent having disadvantageous influence in the game on the usercharacter; and if the user character reaches a boundary between the wallsurface in the first state and an area in the virtual space that isdifferent from the wall surface in the first state due to the movementby the second movement process, reducing the disadvantageous influenceby the game event.
 16. An information processing system comprising: aprocessor and a memory storing executable instructions that, whenexecuted, cause the processor to execute game processing comprising:executing game processing regarding a game performed in athree-dimensional virtual space including at least a terrain object; inaccordance with a first operation input provided by a user, changing aspecified area in the terrain object to a first state; based on adirection operation input provided by the user, performing a firstmovement process for moving a user character on an area in the firststate in a wall surface as the terrain object; in a case where the usercharacter is present on the wall surface in the first state, and while asecond operation input provided by the user continues, causing the usercharacter to perform a preliminary action; under the condition that atleast the second operation input ends, performing a second movementprocess for moving the user character performing the preliminary actionon the wall surface in the first state in a predetermined directionincluding at least a component in an up direction; performing a gameevent having disadvantageous influence in the game on the usercharacter; if the user character reaches a boundary between the wallsurface in the first state and an area in the virtual space that isdifferent from the wall surface in the first state due to the movementby the second movement process, reducing the disadvantageous influenceby the game event.
 17. An information processing method performed by aninformation processing system for executing game processing regarding agame performed in a three-dimensional virtual space including at least aterrain object, the information processing method comprising: inaccordance with a first operation input provided by a user, changing aspecified area in the terrain object to a first state; based on adirection operation input provided by the user, performing a firstmovement process for moving a user character on an area in the firststate in a wall surface as the terrain object; in a case where the usercharacter is present on the wall surface in the first state, and while asecond operation input provided by the user continues, causing the usercharacter to perform a preliminary action; under the condition that atleast the second operation input ends, performing a second movementprocess for moving the user character performing the preliminary actionon the wall surface in the first state in a predetermined directionincluding at least a component in an up direction; performing a gameevent having disadvantageous influence in the game on the usercharacter; and if the user character reaches a boundary between the wallsurface in the first state and an area in the virtual space that isdifferent from the wall surface in the first state due to the movementby the second movement process, reducing the disadvantageous influenceby the game event.